dev@glassfish.java.net

Re: start-domain complains port is in use when it is not

From: Sathyan Catari <sathyan.catari_at_oracle.com>
Date: Wed, 28 Jul 2010 10:40:50 -0700

All of the ports used by GF are free when the test program is run. I
think the error message
from start-domain reveals only 4848 because that is the first error and
it can't go past that?

Thanks
Sathyan

Jerome Dochez wrote:
> I suppose the port number used in the message could be incorrect.
> for instance, are 8080, 8181 and 3700, 3820 free as well ?
>
> jerome
>
> On 7/27/10 4:50 PM, Sathyan Catari wrote:
>> Recently configured my Solaris 10 machine to a DHCP from Static.
>> Since then started seeing this error
>> when running 'asadmin start-domain'.
>>
>> # ./asadmin start-domain
>> Jul 23, 2010 1:52:06 PM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger severe
>> SEVERE: The configured OSGi Telnet port (6666) is already in use by
>> another process. The OSGi Telnet Service will not be available but
>> GlassFish won't be affected otherwise.
>> There is a process already using the admin port 4848 -- it probably
>> is another instance of a GlassFish server.
>> Command start-domain failed.
>>
>> The ports 6666 and 4848 are indeed free. Could it be the resolution
>> of hostname(that got lost during dhcp move)
>> that is causing this issue?
>>
>> I did write/test a simple java program to create a client socket and
>> am able to find out that this host/port is free.
>> Also 'asadmin create-domain' didn't complain anything about occupied
>> ports
>>
>> Appreciate any pointers.
>>
>> Thanks
>> Sathyan
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>