users@glassfish.java.net

Glassfish won't start because port 4848 is in use, however nothing is

From: <forums_at_java.net>
Date: Thu, 8 Nov 2012 12:42:31 -0600 (CST)

I've run into the weirdest error. Everything was working fine until I
restarted the server yesterday but now, when I try to start Glassfish, it
gives me this error: /home/glassfish/bin/asadmin start-domain domain1 There
is a process already using the admin port 4848 -- it probably is another
instance of a GlassFish server. Command start-domain failed. I've seen it
before when Glassfish failed to stop properly, so I checked for a running
Glassfish process and didn't find anything. I also checked netstat -natp and
lsof -i :4848 to see if anything is running that's using that port...
Nothing. Finally, I uninstalled Glassfish (I read elsewhere on the internet
that this can happen when a domain gets corrupted), shut down Apache (just in
case it was using the port but not telling me), restarted the whole server
again, reinstalled Glassfish and I get the same error... I'm totally stumped
at this point. Has anyone else seen something like this before?

--
[Message sent by forum member 'DylanBoates']
View Post: http://forums.java.net/node/892086