users@glassfish.java.net

Re: Startup Problem - Port used

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 02 Dec 2009 22:40:53 -0500

Salut,

glassfish_at_javadesktop.org wrote:
> Hi,
> trying to start up glassfish v3b74 but get port used error
>
> [b]root_at_ubuntu:~/glassfishv3/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[/b].
>
> but the port is not used. (I get the same error for any port that I would configure)
>
> [b]root_at_ubuntu:~/glassfishv3/glassfish/bin# netstat -tlunp
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2149/sshd
> tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2441/cupsd
> tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 2075/postgres
> tcp6 0 0 :::22 :::* LISTEN 2149/sshd
> tcp6 0 0 :::5432 :::* LISTEN 2075/postgres
> udp 0 0 0.0.0.0:68 0.0.0.0:* 2082/dhclient3
> udp 0 0 0.0.0.0:39256 0.0.0.0:* 2413/avahi-daemon:
> udp 0 0 0.0.0.0:5353 0.0.0.0:* 2413/avahi-daemon:
> root_at_ubuntu:~/glassfishv3/glassfish/bin# [/b]
>
> There is no firewall.

Can you post your server.log file (under
${glassfish.home}/domains/domain1/logs ?

Thanks!

-- Jeanfrancois

>
> Other Info
> [b]Ubuntu Jaunty 9.04
> Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)[/b]
>
> I am not expert enough if it is problem that I can solve by Glassfish or Linux configuration.
>
> Thanks for hints
> Sven
> [Message sent by forum member 'itdude' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=374417
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>