You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mike Jackson <mj...@cdi-hq.com> on 2001/06/05 20:20:08 UTC

Tomcat w/ native threads under Unixware 7.1.1

I'm using SCO's JDK 1.2.2 under Unixware 7.1.1 and trying to get Tomcat
3.2.2 running with native threads.  I haven't made any major changes to the
configuration files, only adding another context and adding the apj13
listener (for mod_jk).  Everything works perfectly
with green threads, but when I run with native threads I'm getting strange
messages like the following:

2001-06-05 11:08:18 - PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8080] ignored exception:
java.net.SocketException: Interrupted system call -
java.net.SocketException: Interrupted system call
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java, Compiled
Code)
        at java.net.ServerSocket.implAccept(ServerSocket.java, Compiled
Code)
        at java.net.ServerSocket.accept(ServerSocket.java, Compiled Code)
        at
org.apache.tomcat.service.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java,
Compiled Code)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java,
Compiled Code)
        at java.lang.Thread.run(Thread.java, Compiled Code)

Webserver-wise everything appears to be working ok, but everytime tomcat
services a request I get a repeat of the message.  Also strangely enough I
get similiar problems with connections to jdbc data sources, which work
perfectly under green threads as well.

I've attached a complete startup and shutdown sequence in the hopes that
someone has an idea what's going on, or can point me in the direction of a
fix.  This is going to be running on a quad-xeon box, so I'd rather stay
away from green threads if at all possible.

--mikej
-=-----
mike jackson
mjackson@cdi-hq.com