Friday, July 20, 2012

admin port 4848 already used when starting Glassfish


"There is a process already using the admin port 4848 -- it probably is
another instance of a GlassFish server.
Command start-domain failed."


This problem may happen when you set a static IP address.
You need to make sure hostname should not leave blank but fill with the current hostname of your server, when configuring static IP address in network settings.

Alternative way to solve this is:
type: vi /etc/hosts
find, <your-static-ip>, and put <your-host-name> <your-host-name> after the static IP address.
then save the file, and try to start GlassFish again.

No comments:

Post a Comment