Hi,
I am running into a situation when running shutdown.sh fails to shutdown tomcat on Solaris. The scenario is as follows: (1) I am running out of my own CATALINA_BASE directory on Solaris. (2) After starting and running for some time I edit the context xml (I'm not sure this has anything to do with the problem. Note: reloadable="false"). (3) I then run shutdown.sh which results in a Socket exception (java.net.SocketException: Invalid argument). (4) I "ps -ef | grep java" and can see the tomcat process still running. (5) I run shutdown.sh again and this time it seems to work. I have come across this problem a couple of times since I moved onto Solaris. So it seems to be quite reproducible. The output from Catalina.out is as follows: Jul 5, 2005 1:52:05 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /npdb Jul 5, 2005 1:52:05 PM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/export/home/npsadm/npshome/var/lsmsweb/conf/Catalina/localhost/lsms.xm l AbandonedObjectPool is used ([EMAIL PROTECTED]) LogAbandoned: false RemoveAbandoned: true RemoveAbandonedTimeout: 60 Jul 5, 2005 1:52:09 PM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped already (the eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact) Jul 5, 2005 1:53:25 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8099 Jul 5, 2005 1:53:25 PM org.apache.jk.common.ChannelSocket acceptConnections WARNING: Exception executing accept java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketSetOption(Native Method) at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240) at java.net.Socket.setSoLinger(Socket.java:814) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:300) at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:638) at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:847) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:683) at java.lang.Thread.run(Thread.java:534) Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path /npdb Jul 5, 2005 1:53:26 PM org.apache.catalina.core.StandardHostDeployer remove INFO: Removing web application at context path Jul 5, 2005 1:53:26 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger,host=localhost Jul 5, 2005 1:53:26 PM org.apache.catalina.logger.LoggerBase stop INFO: unregistering logger Catalina:type=Logger Jul 5, 2005 1:53:26 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8099 Any help would be much appreciated. Thanks, Stuart