dev@glassfish.java.net

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

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 28 Jul 2010 13:59:32 -0700

I needed to do all steps under #5. But GF is happy now.

Thanks Joe,
-marina

Sathyan Catari wrote:
> Thanks a lot Joe,
> After updating nsswitch.conf things are fine now.
>
> Joe Di Pol wrote:
>
>>
>> Sathyan,
>>
>> This could be because of the internal network switchover that occurred.
>> The internal NIS maps now have old IP addresses in them, so you need to
>> configure your system to use DNS first for hostname lookup. Maybe
>> this is the problem?
>>
>> See item #5 at:
>>
>> https://stbeehive.oracle.com/teamcollab/wiki/dipol_home:SCA+Network+Standardization+Tips+for+Solaris+Workstations
>>
>>
>> For info on configuring DNS on your Solaris 10 machine.
>>
>> Joe
>>
>> 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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>