java.sql.SQLException: Io Exception: Connection timed out

jboss.org | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.net.SocketException: Too many open files | Oracle Community

    oracle.com | 11 months ago
    java.sql.SQLException: Io exception: Connection reset by peer: Connection reset by peer
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.net.SocketException: Too many open files

    Oracle Community | 7 years ago | 702994
    java.sql.SQLException: Io exception: Connection reset by peer: Connection reset by peer
  4. 0

    java.sql.SQLException: Io exception: Size Data Unit (SDU) mismatch

    Oracle Community | 1 decade ago | 97539
    java.sql.SQLException: Io exception: Size Data Unit (SDU) mismatch
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    Io Exception: Connection timed out

    at oracle.jdbc.dbaccess.DBError.throwSqlException()
  2. oracle.jdbc.dbaccess
    DBError.throwSqlException
    1. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    2. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    3. oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:333)
    3 frames
  3. Oracle jdbc
    OracleConnection.createStatement
    1. oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:389)
    2. oracle.jdbc.driver.OracleConnection.privateCreateStatement(OracleConnection.java:772)
    3. oracle.jdbc.driver.OracleConnection.createStatement(OracleConnection.java:712)
    3 frames
  4. JBoss Application Server Connector
    WrapperDataSource.getConnection
    1. org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:55)
    2. org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:458)
    3. org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:240)
    4. org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:200)
    5. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:211)
    6. org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
    7. org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:348)
    8. org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:330)
    9. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:403)
    10. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:850)
    11. org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:90)
    11 frames
  5. com.sinosoft.utility
    DBConnPool.getConnection
    1. com.sinosoft.utility.DBConn.getJBossPoolConnection(DBConn.java:557)
    2. com.sinosoft.utility.DBConn.createConnection(DBConn.java:152)
    3. com.sinosoft.utility.DBConnPool.getConnection(DBConnPool.java:56)
    3 frames
  6. com.sinosoft.lis
    AntiInit.init
    1. com.sinosoft.lis.db.LDSysVarDB.query(LDSysVarDB.java:376)
    2. com.sinosoft.lis.aml.AntiInit.getValueFromSysvar(AntiInit.java:107)
    3. com.sinosoft.lis.aml.AntiInit.init(AntiInit.java:62)
    3 frames
  7. org.apache.jsp
    main_jsp._jspService
    1. org.apache.jsp.logon.main_jsp._jspService(main_jsp.java:62)
    1 frame
  8. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    1 frame
  9. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  10. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:387)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    3 frames
  11. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  13. filters
    SetCharacterEncodingFilter.doFilter
    1. filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:34)
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    2 frames
  15. JBoss Application Server Tomcat
    ReplyHeaderFilter.doFilter
    1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    1 frame
  16. Glassfish Core
    StandardContextValve.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    4 frames
  17. JBoss Application Server Tomcat
    JaccContextValve.invoke
    1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    2. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    2 frames
  18. Glassfish Core
    ErrorReportValve.invoke
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    2 frames
  19. JBoss Application Server Tomcat
    CachedConnectionValve.invoke
    1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    1 frame
  20. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    2. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    2 frames
  21. org.apache.coyote
    AjpProtocol$AjpConnectionHandler.process
    1. org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)
    2. org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381)
    2 frames
  22. Grizzly HTTP
    JIoEndpoint$Worker.run
    1. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    1 frame
  23. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:595)
    1 frame