tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesper Birch <bi...@outpost24.com>
Subject Exception during shutdown when ssl clientauth is activated
Date Fri, 11 Apr 2003 06:23:56 GMT
Hi,

I have being running Tomcat 4.1.18 for some time now without some big
problems :-)

But now I tried upgrade to 4.1.24, but this gives me suddenly a strange
error. I have not changed anything except upgrading to 4.1.24. The
configuration is the same.

Everything looks ok and is running after a startup. But during a
shutdown this exception appears and the framework is not shut down
correctly (many java processes keeps running).

The only thing I need to change to avoid this is clientAuth="false" from
"true" on the SSL connector. But I use clientAuth="true" so I need it.

Any ideas ?! A bug ?! A change in the configuration ?!

The exception:
Stopping service Tomcat-Standalone
2003-04-10 16:05:36,661 [Thread-7] ERROR
org.apache.tomcat.util.net.PoolTcpEndpoint - Caught exception trying to
unlock accept.
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
        at java.net.Socket.connect(Socket.java:426)
        at java.net.Socket.connect(Socket.java:376)
        at java.net.Socket.<init>(Socket.java:291)
        at java.net.Socket.<init>(Socket.java:119)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:326)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
        at java.lang.Thread.run(Thread.java:536)
2003-04-10 16:05:36,669 [Thread-7] ERROR
org.apache.tomcat.util.net.PoolTcpEndpoint - Caught exception trying to
close socket.
java.lang.NullPointerException
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:338)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
        at java.lang.Thread.run(Thread.java:536)


Best regards

Jesper Birch


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message