RE: ServerSocket exception (HPUX)

2001-06-27 Thread Cook, Levi

Positive :)

Actually, I may have found the answer outside the list; Haven't verified it
yet, but it seems to be a likely solution.

Just in case anyone else runs into this, here's the pointer I was given:
>>>
Yes, we have found a solution for the problem. We installed the HP-UX
Patches
PHNE_22397, PHKL_22840 and PHNE_22566.
Additionaly,  we installed all patches required for java 1.3:

 http://www.hp.com/products1/unix/java/infolibrary/patches.html
>>>


Regards,
Levi Cook


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 6:02 AM
> To: Cook, Levi
> Subject: RE: ServerSocket exception (HPUX)
> 
> 
> 
> r u sure there is no other server socket running at port 8080 ?
> 
> Shuklix
> 
> 
> -Original Message-
> From: Cook, Levi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 27, 2001 3:28 AM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: ServerSocket exception (HPUX)
> 
> 
> Searching the mail-archive, I found the following message, 
> which describes
> my problem exactly:
> http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg
> 23066.html
> 
> Unfortunately, I cannot find a corresponding solution :(
> 
> Has anyone else encountered this problem??
> Does anyone have any possible solutions??
> 
> Here's some reference info. on my system config. just in case 
> it helps..
> I've tried both VM's listed below but each has equivalant results.
> 
> ships@gvtrns04[/opt/ships]:/opt/java1.2/jre/bin/java -version
> java version "1.2.2.08"
> HotSpot VM (1.0.1fcs, mixed mode, PA2.0 build 
> 1.2.2.08-01/03/29-PA_RISC2.0)
> 
> ships@gvtrns04[/opt/ships]:/opt/java1.3/jre/bin/java -version
> java version "JavaVM-1.3.0.00"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> jinteg:11/28/00-11:08)
> HotSpot VM (build 1.0.1fcs jinteg:11/28/00-13:54 PA2.0, mixed mode)
> 
> ships@gvtrns04[/opt/ships]:uname -all
> HP-UX gvtrns04 B.11.00 U 9000/800 117901517 unlimited-user license
> 
> ships@gvtrns04[/opt/ships]:echo $JAVA_HOME
> /opt/java1.2/jre
> 
> ships@gvtrns04[/opt/ships]:tomcat run
> Guessing TOMCAT_HOME from tomcat.sh to ./jakarta-tomcat-3.2.2/bin/..
> Setting TOMCAT_HOME to ./jakarta-tomcat-3.2.2/bin/..
> Using classpath:
> ./jakarta-tomcat-3.2.2/bin/../lib/ant.jar:./jakarta-tomcat-3.2
.2/bin/../lib/
> jasper.jar:./jakarta-tomcat-3.2.2/bin/../lib/jaxp.jar:./jakart
> a-tomcat-3.2.2
> /bin/../lib/parser.jar:./jakarta-tomcat-3.2.2/bin/../lib/servl
> et.jar:./jakar
> ta-tomcat-3.2.2/bin/../lib/test:./jakarta-tomcat-3.2.2/bin/../
> lib/webserver.
> jar
> 2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /examples )
> 2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /admin )
> Starting tomcat. Check logs/tomcat.log for error messages
> 2001-06-26 04:40:58 - ContextManager: Adding context Ctx(  )
> 2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /test )
> 2001-06-26 04:40:59 - PoolTcpConnector: Starting 
> HttpConnectionHandler on
> 8080
> 2001-06-26 04:40:59 - PoolTcpConnector: Starting 
> Ajp12ConnectionHandler on
> 8007
> 2001-06-26 04:41:04 - PoolTcpEndpoint: Endpoint
> ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
> ignored exception:
> java.net.SocketException: Socket closed - 
> java.net.SocketException: Socket
> closed
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418)
> at java.net.ServerSocket.implAccept(ServerSocket.java:240)
> at java.net.ServerSocket.accept(ServerSocket.java:224)
> at
> org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcp
> Endpoint.java:
> 286)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> t.java:402)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:501)
> at java.lang.Thread.run(Thread.java:479)
> 
> 2001-06-26 04:41:07 - PoolTcpEndpoint: Endpoint
> ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] 
> ignored exception:
> java.net.SocketException: No buffer space available -
> java.net.SocketException: No buffer space available
> at java.net.PlainSocketImpl.socketAccept(Native Method)
> at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418)
> at java.net.ServerSocket.implAccept(ServerSocket.java:240)
> at java.net.ServerSocket.accept(ServerSocket.java:224)
> at
> org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcp
> Endpoint.java:
> 286)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoin
> t.java:402)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:501)
> at java.lang.Thread.run(Thread.java:479)
> 
> 
> Any feedback is greatly appreciated
> 
> Levi Cook
> Consultant
> Greenbrier & Russel, Inc.
> 8383 Greenway Blvd., Suite 200
> Middleton, WI  53562
> email: [EMAIL PROTECTED]
> web  : www.gr.com
> 
> 



RE: ServerSocket exception (HPUX)

2001-06-26 Thread Filip Hanik

why is it trying to open a socket on address 0.0.0.0.
are you sure your machine is configured properly? ie, can you open up a
server socket from your own java program?

Filip

~
Namaste - I bow to the divine in you
~
Filip Hanik
Software Architect
[EMAIL PROTECTED]
www.filip.net

>-Original Message-
>From: Cook, Levi [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, June 26, 2001 2:58 PM
>To: '[EMAIL PROTECTED]'
>Cc: '[EMAIL PROTECTED]'
>Subject: ServerSocket exception (HPUX)
>
>
>Searching the mail-archive, I found the following message, which describes
>my problem exactly:
>http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg23066.html
>
>Unfortunately, I cannot find a corresponding solution :(
>
>Has anyone else encountered this problem??
>Does anyone have any possible solutions??
>
>Here's some reference info. on my system config. just in case it helps..
>I've tried both VM's listed below but each has equivalant results.
>
>ships@gvtrns04[/opt/ships]:/opt/java1.2/jre/bin/java -version
>java version "1.2.2.08"
>HotSpot VM (1.0.1fcs, mixed mode, PA2.0 build 1.2.2.08-01/03/29-PA_RISC2.0)
>
>ships@gvtrns04[/opt/ships]:/opt/java1.3/jre/bin/java -version
>java version "JavaVM-1.3.0.00"
>Java(TM) 2 Runtime Environment, Standard Edition (build
>jinteg:11/28/00-11:08)
>HotSpot VM (build 1.0.1fcs jinteg:11/28/00-13:54 PA2.0, mixed mode)
>
>ships@gvtrns04[/opt/ships]:uname -all
>HP-UX gvtrns04 B.11.00 U 9000/800 117901517 unlimited-user license
>
>ships@gvtrns04[/opt/ships]:echo $JAVA_HOME
>/opt/java1.2/jre
>
>ships@gvtrns04[/opt/ships]:tomcat run
>Guessing TOMCAT_HOME from tomcat.sh to ./jakarta-tomcat-3.2.2/bin/..
>Setting TOMCAT_HOME to ./jakarta-tomcat-3.2.2/bin/..
>Using classpath:
>./jakarta-tomcat-3.2.2/bin/../lib/ant.jar:./jakarta-tomcat-3.2.2/bi
>n/../lib/
>jasper.jar:./jakarta-tomcat-3.2.2/bin/../lib/jaxp.jar:./jakarta-tom
>cat-3.2.2
>/bin/../lib/parser.jar:./jakarta-tomcat-3.2.2/bin/../lib/servlet.ja
>r:./jakar
>ta-tomcat-3.2.2/bin/../lib/test:./jakarta-tomcat-3.2.2/bin/../lib/w
>ebserver.
>jar
>2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /examples )
>2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /admin )
>Starting tomcat. Check logs/tomcat.log for error messages
>2001-06-26 04:40:58 - ContextManager: Adding context Ctx(  )
>2001-06-26 04:40:58 - ContextManager: Adding context Ctx( /test )
>2001-06-26 04:40:59 - PoolTcpConnector: Starting HttpConnectionHandler on
>8080
>2001-06-26 04:40:59 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
>8007
>2001-06-26 04:41:04 - PoolTcpEndpoint: Endpoint
>ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception:
>java.net.SocketException: Socket closed - java.net.SocketException: Socket
>closed
>at java.net.PlainSocketImpl.socketAccept(Native Method)
>at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418)
>at java.net.ServerSocket.implAccept(ServerSocket.java:240)
>at java.net.ServerSocket.accept(ServerSocket.java:224)
>at
>org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpo
>int.java:
>286)
>at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
>at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>at java.lang.Thread.run(Thread.java:479)
>
>2001-06-26 04:41:07 - PoolTcpEndpoint: Endpoint
>ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception:
>java.net.SocketException: No buffer space available -
>java.net.SocketException: No buffer space available
>at java.net.PlainSocketImpl.socketAccept(Native Method)
>at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:418)
>at java.net.ServerSocket.implAccept(ServerSocket.java:240)
>at java.net.ServerSocket.accept(ServerSocket.java:224)
>at
>org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpo
>int.java:
>286)
>at
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:402)
>at
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>at java.lang.Thread.run(Thread.java:479)
>
>
>Any feedback is greatly appreciated
>
>Levi Cook
>Consultant
>Greenbrier & Russel, Inc.
>8383 Greenway Blvd., Suite 200
>Middleton, WI  53562
>email: [EMAIL PROTECTED]
>web  : www.gr.com
>
>