- Joined
- Jul 24, 2012
- Messages
- 50
- Reaction score
- 0
- Points
- 6
- Your Mac's Specs
- iPhone 4s | iPad 2 | 21.5" iMac 2.7GHz 1TB
I posted a topic a while ago with the same problem but i managed to to get it working briefly. I need it reliably up and running now though.
I am trying to use glassfish on my iMac. Whenever i try to start the server it tells me that
"There is a process already using the admin port 4848 -- it probably is
another instance of a GlassFish server"
I know there isnt another glassfish server running. The problem seems to be quite common but there is no clear answer as to why. Most people say its to do with the /etc/hosts file and that the server cannot bind to the host, ipaddress.
I was told to change the etc/hosts file so the first line now goes 127.0.0.1 localhost Tom's iMac
The last name being the name on my computer (i think)
I also send a command in terminal saying echo $HOSTNAME and it came back blank. Should this be blank?
Also any advice on why i cant start the server.
I am trying to use glassfish on my iMac. Whenever i try to start the server it tells me that
"There is a process already using the admin port 4848 -- it probably is
another instance of a GlassFish server"
I know there isnt another glassfish server running. The problem seems to be quite common but there is no clear answer as to why. Most people say its to do with the /etc/hosts file and that the server cannot bind to the host, ipaddress.
I was told to change the etc/hosts file so the first line now goes 127.0.0.1 localhost Tom's iMac
The last name being the name on my computer (i think)
I also send a command in terminal saying echo $HOSTNAME and it came back blank. Should this be blank?
Also any advice on why i cant start the server.