tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiaoyu Zhang <xyzh...@cisco.com>
Subject IOException and Tomcat hanging
Date Mon, 02 Jul 2001 17:15:47 GMT


Hi,
I've got random java.sql.SQLException: Io exception: Socket closed error in 
my web application, which uses Tomcat 3.2.2 and struts. It happens only 
when a link is clicked without the page fully loaded. I don't get any 
exception while the page is fully loaded.

The exception caught in the application is : SQLExcpetion: Io Exceptoin: 
socket closed
The exception at tomcat console is : ContextManager: SocketException 
reading request, ignored - java.net.SocketException: Connection reset by peer

Did someone have similar case before ?

Thanks.
Xiaoyu



attached:
Error message in tomcat console:
ContextManager: SocketException reading request, ignored - 
java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketAvailable(Native Method)
at java.net.PlainSocketImpl.available(PlainSocketImpl.java:451)
at java.net.SocketInputStream.available(SocketInputStream.java:137)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:217)


at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


Error message our application caught:
com.cisco.tte.rims.model.DatabaseErrorException: java.sql.SQLException: Io 
exception: Socket closed
at com.cisco.tte.rims.model.Workspace.getAttributeById(Workspace.java:2809)
at 
com.cisco.tte.rims.actions.ViewWorkspaceConfigAction.handleAction(ViewWorkspaceConfigAction.java:174)


at com.cisco.tte.rims.actions.BaseAction.perform(BaseAction.java:174)
at 
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1726) 

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1536)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)


at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)



Mime
View raw message