dev@glassfish.java.net

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

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Tue, 27 Jul 2010 19:56:31 -0700

But why is it saying that the port is in use?

On 7/27/2010 5:42 PM, 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
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188