tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "john bell" <>
Subject Tomcat Oracle timeout? oracle.jdbc.dbaccess.DBError.throwSqlException(
Date Sun, 10 Mar 2002 07:31:21 GMT

I have a connection pool and use Oracle in a test environment.
Normally all is OK however, if left alone for many hours the following happens when the attempt
is made to connect.
Can anyone help please?

Entered article.display
POOL get connection numconnections = 2
Oracle Error in article.display
java.sql.SQLException: Io exception: Connection reset by peer: socket write error
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.dbaccess.DBError.throwSqlException(
        at oracle.jdbc.driver.OracleStatement.<init>(
        at oracle.jdbc.driver.OracleStatement.<init>(
        at oracle.jdbc.driver.OraclePreparedStatement.<init>(
        at oracle.jdbc.driver.OraclePreparedStatement.<init>(
        at oracle.jdbc.driver.OracleConnection.prepareStatement(
        at control.Article.display(
        at jsp.control.homecont_3._jspService(
        at org.apache.jasper.runtime.HttpJspBase.service(Unknown Source)
        at javax.servlet.http.HttpServlet.service(
        at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
        at org.apache.tomcat.core.Handler.invoke(Unknown Source)
        at org.apache.tomcat.core.Handler.service(Unknown Source)
        at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
        at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
        at org.apache.tomcat.core.ContextManager.service(Unknown Source)
        at org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Unknown Source)
        at Source)
        at org.apache.tomcat.util.threads.ThreadPool$ Source)
setting instacr null in article test
POOL free connection numconnections = 1
In connMgr.release
POOL new instance getInstance numpools = 2
POOL getInstance clients = 406
POOL getInstance numconnections = 1
hello from 2 Cat2SideBean
hello from 2 Cat3SideBean
POOL getInstance clients = 407


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message