2010/3/10 Sharanabasavaraj Mudgal <sharanu_mud...@yahoo.com>:
> Hi!
>
> I am running tomcat 6.0.20 on AIX with Tomcat-native(1.1.16) enabled.  I get 
> the following exception during  Tomcat Shutdown.
>
> SEVERE: Socket accept failed
> Throwable occurred: org.apache.tomcat.jni.Error: Software caused connection 
> abort
> at org.apache.tomcat.jni.Socket.accept(Native Method)
> at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1128)
> at java.lang.Thread.run(Thread.java:736)
>
> There are quite a few cases where the Acceptor thread raises the exception 
> when the file descriptor limits are reached/there is issue with the file 
> descriptor limit.  It’s interesting that in our case this exception is raised 
> during shutdown.

This message (at shutdown time) is nothing to worry about, it is expected.
It occurs because Socket.accept() call (waiting for an incoming
connection) is being aborted. Because the accept() call terminates
abnormally and cannot return a socket handle, return from the call is
performed via an exception (*.jni.Error is used here). That is what
you are seeing.

6.0.26 and later will not log this error.
http://svn.apache.org/viewvc?view=revision&revision=918495

https://issues.apache.org/bugzilla/show_bug.cgi?id=48584
also mentions this issue.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to