You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dan lozano <da...@hotmail.com> on 2008/11/13 17:44:45 UTC

Apache 6.0.16

 
Hi All,
 
O/S = AIX 5L
Tcat version = 6.0.16
 
When trying to startup Tomcat I'm getting the following error when connecting to the shutdown port 8005.
 
I've checked netstat -a and the port is available and a my existing version 5.2.25 will startup on the same port without incident. When I stop my existing installation the port is closed and becomes availabe.
 
Anyone seem this error before?
 
13.11.2008 16:29:06 org.apache.catalina.startup.Catalina startINFO: Server startup in 2705 ms13.11.2008 16:29:06 org.apache.catalina.core.StandardServer awaitSEVERE: StandardServer.await: create[8005]:java.net.BindException: Der Socket-Name ist auf diesem System nicht verfügbar.        at java.net.PlainSocketImpl.socketBind(Native Method)        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)        at java.net.ServerSocket.bind(ServerSocket.java:331)        at java.net.ServerSocket.<init>(ServerSocket.java:197)        at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)        at org.apache.catalina.startup.Catalina.await(Catalina.java:642)        at org.apache.catalina.startup.Catalina.start(Catalina.java:602)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)        at java.lang.reflect.Method.invoke(Method.java:615)        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)13.11.2008 16:30:21 org.apache.coyote.http11.Http11Protocol pause
 

_________________________________________________________________
Windows Live Hotmail now works up to 70% faster.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008

Re: Apache 6.0.16

Posted by Rainer Jung <ra...@kippdata.de>.
dan lozano schrieb:
> 
> Dear Kees Jan,
> 
> Thanks for the info, I have verified that my existing Tomcat is
> offline.  My existing Apache Tcat 5.5.25 binds to the port without
> incident, only the out of the box 6.0.16 is causing the problem, with
> the identical message as yours.
> 
> I'm using netstat -an |grep 8005 on AIX, to only list if the port is
> in use/listening.   I've done a 'man netstat'  and cannot find the
> command to list the actual process, still checking AIX commands to
> see what available.
> 
> When I issue the ./shutdown.sh and execute the netstat command again,
> no rows are returned, which would normally indicate the port/socket
> is released. Let me reiterate, my existing will come up and bind to
> the port.
> 
> Before the server shutdown automatically, I can access the 8080 port
> and display the Apache splash page.
> 
> Any thing else to check?
> 
> Let me know and thanks again.

Could it be a name resolution or IPV6 problem? The code binding the
shutdown socket does:

String hostAddress = InetAddress.getByName("localhost").getHostAddress();
Socket socket = new Socket(hostAddress, server.getPort());

So check, what "localhost" resolves to on the AIX system. Check whether
it is in /etc/hosts or some other host name repository and check your
AIX config, which ones are queried in which order.

To eliminate the port, you could switch from 8005 in server.xml to some
exotic port number, e.g. 13749. From your observatiuons I expect you to
get the same error and then we know it is not the port number itself.

Regards,

Rainer



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Apache 6.0.16

Posted by Kees Jan Koster <kj...@kjkoster.org>.
Dear Dan,

> Thanks for the info, I have verified that my existing Tomcat is  
> offline.  My existing Apache Tcat 5.5.25 binds to the port without  
> incident, only the out of the box 6.0.16 is causing the problem,  
> with the identical message as yours.
>
> I'm using netstat -an |grep 8005 on AIX, to only list if the port is  
> in use/listening.   I've done a 'man netstat'  and cannot find the  
> command to list the actual process, still checking AIX commands to  
> see what available.
>
> When I issue the ./shutdown.sh and execute the netstat command  
> again, no rows are returned, which would normally indicate the port/ 
> socket is released. Let me reiterate, my existing will come up and  
> bind to the port.

Bizarre.

> Before the server shutdown automatically, I can access the 8080 port  
> and display the Apache splash page.
>
> Any thing else to check?

No idea, really. Sorry.

--
Kees Jan

http://java-monitor.com/forum/
kjkoster@kjkoster.org
06-51838192

Human beings make life so interesting. Do you know that in a universe  
so full of wonders,
they have managed to invent boredom. Quite astonishing... -- Terry  
Partchett


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Apache 6.0.16

Posted by dan lozano <da...@hotmail.com>.
 
Dear Kees Jan,
 
Thanks for the info, I have verified that my existing Tomcat is offline.  My existing Apache Tcat 5.5.25 binds to the port without incident, only the out of the box 6.0.16 is causing the problem, with the identical message as yours.
 
I'm using netstat -an |grep 8005 on AIX, to only list if the port is in use/listening.   I've done a 'man netstat'  and cannot find the command to list the actual process, still checking AIX commands to see what available.
 
When I issue the ./shutdown.sh and execute the netstat command again, no rows are returned, which would normally indicate the port/socket is released. Let me reiterate, my existing will come up and bind to the port.
 
Before the server shutdown automatically, I can access the 8080 port and display the Apache splash page.
 
Any thing else to check?
 
Let me know and thanks again.
 
> From: kjkoster@kjkoster.org> To: users@tomcat.apache.org> Subject: Re: Apache 6.0.16> Date: Thu, 13 Nov 2008 21:28:33 +0100> > Dear Dan,> > > Yes it works with apache-tomcat.5.5.25, the port comes up and > > listens on Port 8005. I can stop and start at will, no problem.> >> > The installation I have is 6.0.16, no mods to server.xml and this is > > one that throws the error.> > Strange. When I try a stock 6.0.16, freshly downloaded from apache.org > the error message is eerily similar if something is listening on port > 8005 already. Apart from the German message, of course.> > Nov 13, 2008 9:21:13 PM org.apache.catalina.core.StandardServer await> SEVERE: StandardServer.await: create[8005]:> java.net.BindException: Address already in use> at java.net.PlainSocketImpl.socketBind(Native Method)> at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)> at java.net.ServerSocket.bind(ServerSocket.java:319)> at java.net.ServerSocket.<init>(ServerSocket.java:185)> at org.apache.catalina.core.StandardServer.await(StandardServer.java: > 373)> at org.apache.catalina.startup.Catalina.await(Catalina.java:642)> at org.apache.catalina.startup.Catalina.start(Catalina.java:602)> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)> at > sun > .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39)> at > sun > .reflect > .DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: > 25)> at java.lang.reflect.Method.invoke(Method.java:585)> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)> > Are yu absolutely sure that nothing is listening on port 8005 when you > started the 6.0.16 server? You can check using the advise in http://java-monitor.com/forum/showthread.php?t=22> > Note that AIX is not in the list of sample commands. Could you let me > know afterwards what commands you use on AIX to find out who is > listening? It would be nice for future reference.> --> Kees Jan> > http://java-monitor.com/forum/> kjkoster@kjkoster.org> 06-51838192> > The secret of success lies in the stability of the goal. -- Benjamin > Disraeli> > > ---------------------------------------------------------------------> To start a new topic, e-mail: users@tomcat.apache.org> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org> For additional commands, e-mail: users-help@tomcat.apache.org> 
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live
http://clk.atdmt.com/MRT/go/119462413/direct/01/

Re: Apache 6.0.16

Posted by Kees Jan Koster <kj...@kjkoster.org>.
Dear Dan,

> Yes it works with apache-tomcat.5.5.25, the port comes up and  
> listens on Port 8005.  I can stop and start at will, no problem.
>
> The installation I have is 6.0.16, no mods to server.xml and this is  
> one that throws the error.

Strange. When I try a stock 6.0.16, freshly downloaded from apache.org  
the error message is eerily similar if something is listening on port  
8005 already. Apart from the German message, of course.

Nov 13, 2008 9:21:13 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use
	at java.net.PlainSocketImpl.socketBind(Native Method)
	at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
	at java.net.ServerSocket.bind(ServerSocket.java:319)
	at java.net.ServerSocket.<init>(ServerSocket.java:185)
	at org.apache.catalina.core.StandardServer.await(StandardServer.java: 
373)
	at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at  
sun 
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 
39)
	at  
sun 
.reflect 
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 
25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

Are yu absolutely sure that nothing is listening on port 8005 when you  
started the 6.0.16 server? You can check using the advise in http://java-monitor.com/forum/showthread.php?t=22

Note that AIX is not in the list of sample commands. Could you let me  
know afterwards what commands you use on AIX to find out who is  
listening? It would be nice for future reference.
--
Kees Jan

http://java-monitor.com/forum/
kjkoster@kjkoster.org
06-51838192

The secret of success lies in the stability of the goal. -- Benjamin  
Disraeli


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Apache 6.0.16

Posted by dan lozano <da...@hotmail.com>.
Christopher,
 
Yes it works with apache-tomcat.5.5.25, the port comes up and listens on Port 8005.  I can stop and start at will, no problem.
 
The installation I have is 6.0.16, no mods to server.xml and this is one that throws the error.
 
Any additional information would be apprecaited.
 
Thanks.
> Date: Thu, 13 Nov 2008 12:35:50 -0500> From: chris@christopherschultz.net> To: users@tomcat.apache.org> Subject: Re: Apache 6.0.16> > -----BEGIN PGP SIGNED MESSAGE-----> Hash: SHA1> > Dan,> > dan lozano wrote:> > O/S = AIX 5L Tcat version = 6.0.16> > > > When trying to startup Tomcat I'm getting the following error when> > connecting to the shutdown port 8005.> > > > I've checked netstat -a and the port is available and a my existing> > version 5.2.25 will startup on the same port without incident. When I> > stop my existing installation the port is closed and becomes> > available.> > > > Anyone seem this error before?> > > > StandardServer.await: create[8005]:java.net.BindException: Der> > Socket-Name ist auf diesem System nicht verfügbar.> > For non-German speakers, this says "The Socket-Name is not available on> this system".> > That sounds worse than "cannot bind to port" which is what you get when> the port already has an app bound to it. Does this ever work? It looks> more like an error you'd get when you are trying to use some service not> supported by your network stack (like Appletalk).> > Are you saying that Tomcat 5.5.25 (not 5.2.25, which I don't think> exists) starts up every time without a problem with a similar configuration?> > Note that server.xml from TC 5.5 cannot be copied directly into your TC> 6 configuration and expected to work. You should start with a fresh> server.xml and make whatever modifications are necessary for your> environment.> > Hope that helps,> - -chris> -----BEGIN PGP SIGNATURE-----> Version: GnuPG v1.4.9 (MingW32)> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org> > iEYEARECAAYFAkkcZXYACgkQ9CaO5/Lv0PDPRQCgoWo74W5HTEaIYf+6L9VBlI0Y> i1IAnA4dk3bdrMpBm1QaZgJuB2B389O1> =EBGe> -----END PGP SIGNATURE-----> > ---------------------------------------------------------------------> To start a new topic, e-mail: users@tomcat.apache.org> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org> For additional commands, e-mail: users-help@tomcat.apache.org> 
_________________________________________________________________
Stay up to date on your PC, the Web, and your mobile phone with Windows Live
http://clk.atdmt.com/MRT/go/119462413/direct/01/

Re: Apache 6.0.16

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan,

dan lozano wrote:
> O/S = AIX 5L Tcat version = 6.0.16
> 
> When trying to startup Tomcat I'm getting the following error when
> connecting to the shutdown port 8005.
> 
> I've checked netstat -a and the port is available and a my existing
> version 5.2.25 will startup on the same port without incident. When I
> stop my existing installation the port is closed and becomes
> available.
> 
> Anyone seem this error before?
> 
> StandardServer.await: create[8005]:java.net.BindException: Der
> Socket-Name ist auf diesem System nicht verfügbar.

For non-German speakers, this says "The Socket-Name is not available on
this system".

That sounds worse than "cannot bind to port" which is what you get when
the port already has an app bound to it. Does this ever work? It looks
more like an error you'd get when you are trying to use some service not
supported by your network stack (like Appletalk).

Are you saying that Tomcat 5.5.25 (not 5.2.25, which I don't think
exists) starts up every time without a problem with a similar configuration?

Note that server.xml from TC 5.5 cannot be copied directly into your TC
6 configuration and expected to work. You should start with a fresh
server.xml and make whatever modifications are necessary for your
environment.

Hope that helps,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkkcZXYACgkQ9CaO5/Lv0PDPRQCgoWo74W5HTEaIYf+6L9VBlI0Y
i1IAnA4dk3bdrMpBm1QaZgJuB2B389O1
=EBGe
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org