James- Tomcat (Apache Portable Runtime) apr_socket_shutdown method has 2 args 1)the socket you are closing 2)0=No longer allow read requests thru this socket (APR_SHUTDOWN_READ) 1=No longer allow write requests thru this socket (APR_SHUTDOWN_WRITE) 2=No longer allow read/write requests thru this socket (APR_SHUTDOWN_READWRITE) HTH, Martin excerpted from http://apr.apache.org/docs/apr/apr__network__io_8h-source.html /** 00287 * Shutdown either reading, writing, or both sides of a socket. 00288 * @param thesocket The socket to close 00289 * @param how How to shutdown the socket. One of: 00290 * <PRE> 00291 * APR_SHUTDOWN_READ no longer allow read requests 00292 * APR_SHUTDOWN_WRITE no longer allow write requests 00293 * APR_SHUTDOWN_READWRITE no longer allow read or write requests 00294 * </PRE> 00295 * @see apr_shutdown_how_e 00296 * @remark This does not actually close the socket descriptor, it just 00297 * controls which calls are still valid on the socket. 00298 */ 00299 APR_DECLARE(apr_status_t) apr_socket_shutdown(apr_socket_t *thesocket, 00300 apr_shutdown_how_e how);
----- Original Message ----- From: "James Taylor" <[EMAIL PROTECTED]> To: <users@tomcat.apache.org> Sent: Wednesday, December 21, 2005 7:25 AM Subject: Re: tomcat error Hi there, sure enough I'm trying to run tomcat on Solaris 8 and tomcat 5.5.12. The error I'm getting in ${CATALINA_HOME}/logs/catalina.out again is Dec 21, 2005 12:02:35 PM org.apache.coyote.http11.Http11BaseProtocol pause INFO: Pausing Coyote HTTP/1.1 on http-5050 Dec 21, 2005 12:02:35 PM org.apache.jk.common.ChannelSocketacceptConnection= s WARNING: Exception executing accept java.net.SocketException: Invalid argument at java.net.PlainSocketImpl.socketSetOption(Native Method) at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:264) at java.net.Socket.setSoLinger(Socket.java:869) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:298= ) at org.apache.jk.common.ChannelSocket.acceptConnections( ChannelSocket.java:637) at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt( ChannelSocket.java:847) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Dec 21, 2005 12:02:36 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Dec 21, 2005 12:02:37 PM org.apache.coyote.http11.Http11BaseProtocol destro= y INFO: Stopping Coyote HTTP/1.1 on http-5050 Dec 21, 2005 12:02:37 PM org.apache.catalina.core.AprLifecycleListenerlifecycleEvent INFO: Failed shutdown of Apache Portable Runtime