java.sql.SQLRecoverableException

IO Error: The Network Adapter could not establish the connection

Samebug tips9

Check if your MongoDB is available.


rprp

Check if your server (or a proxy server) is not going up and down. There might be something between a proxy and a client sending intermittent requests to non-functioning hosts as well. There might as well be too many requests in a short amount of time.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web5776

  • via Unknown by Shaik,
  • via Unknown by Jose Aróstegui,
  • Stack trace

    • java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:443) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:670) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:230) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:185) at oracle.xdo.security.OraValidator.getImpConnection(OraValidator.java:196) at oracle.xdo.security.OraValidator.getAdminConnection(OraValidator.java:170) at oracle.xdo.security.OraValidator.getAllRoles(OraValidator.java:233) at oracle.xdo.servlet.security.ORCLDBSecurityHandler.getAllRolenames(ORCLDBSecurityHandler.java:98) at oracle.xdo.servlet.resources.catalog.CatalogServiceUtil.createAccessPermission(CatalogServiceUtil.java:2425) at oracle.xdo.servlet.resources.catalog.ResourceCatalogServiceImpl.getChildren(ResourceCatalogServiceImpl.java:573) at oracle.xdo.servlet.resources.catalog.ResourceCatalogServiceImpl.getChildren(ResourceCatalogServiceImpl.java:491) at oracle.xdo.servlet.resources.catalog.MostRecentCatalogServiceWrapper.getChildren(MostRecentCatalogServiceWrapper.java:172) at oracle.xdo.servlet.resources.action.CatalogTreeAction.printTree(CatalogTreeAction.java:83) at oracle.xdo.servlet.resources.action.CatalogTreeAction.execute(CatalogTreeAction.java:42) at oracle.xdo.servlet.resources.action.ActionServlet.service(ActionServlet.java:45) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:64) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:381) at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:426) at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:710) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:256) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1176) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:318) ... 56 more Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:619) at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:164) at oracle.net.nt.ConnOption.connect(ConnOption.java:134) at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:357) ... 61 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    mellsonmellson
    4 times, last one
    MichaelMichael
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    tomthomastomthomas
    2 times, last one
    treefolktreefolk
    Once,
    483 more bugmates