java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection

Stack Overflow | Emman Sun | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    WSO2 API Manager 2.0 separate Registry DB Issue

    Stack Overflow | 8 months ago | Emman Sun
    java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
  2. 0

    Using multiple JDBCTemplates in a single Java : Spring MVC

    Stack Overflow | 2 years ago | Kiran Joshi
    java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
  3. 0

    Jstart ending with error details as "Node 'boot... | SCN

    sap.com | 12 months ago
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot connect to oracle database

    Stack Overflow | 2 years ago | Syed Usama Hashmi
    java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
  6. 0

    Error connecting to Oracle database using JDBC

    Stack Overflow | 2 years ago
    java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection

  1. treefolk 1 times, last 2 months ago
  2. mellson 4 times, last 7 months ago
  3. Michael 2 times, last 7 months ago
  4. osvzs 1 times, last 6 days ago
  5. Pilleo 1 times, last 1 week ago
59 more registered users
36 unregistered visitors
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.net.ConnectException

    Connection refused: connect

    at java.net.DualStackPlainSocketImpl.waitForConnect()
  2. Java RT
    Socket.connect
    1. java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    8. java.net.Socket.connect(Socket.java:589)
    8 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:150)
    2. oracle.net.nt.ConnOption.connect(ConnOption.java:133)
    3. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:370)
    4. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:434)
    5. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:687)
    6. oracle.net.ns.NSProtocol.connect(NSProtocol.java:363)
    7. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1102)
    8. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:320)
    9. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    10. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
    11. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    12. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    12 frames
  4. org.apache.tomcat
    DataSourceProxy.getConnection
    1. org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
    2. org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
    3. org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
    4. org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
    5. org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
    6. org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
    6 frames
  5. org.wso2.carbon
    UserRegistry$5.run
    1. org.wso2.carbon.registry.core.jdbc.dataaccess.JDBCTransactionManager.beginTransaction(JDBCTransactionManager.java:80)
    2. org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.beginTransaction(EmbeddedRegistry.java:443)
    3. org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.get(EmbeddedRegistry.java:505)
    4. org.wso2.carbon.registry.core.caching.CacheBackedRegistry.get(CacheBackedRegistry.java:203)
    5. org.wso2.carbon.registry.core.session.UserRegistry.getInternal(UserRegistry.java:617)
    6. org.wso2.carbon.registry.core.session.UserRegistry.access$400(UserRegistry.java:61)
    7. org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:597)
    8. org.wso2.carbon.registry.core.session.UserRegistry$5.run(UserRegistry.java:594)
    8 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. org.wso2.carbon
    AsyncIndexer$IndexingTask.run
    1. org.wso2.carbon.registry.core.session.UserRegistry.get(UserRegistry.java:594)
    2. org.wso2.carbon.registry.indexing.AsyncIndexer$IndexingTask.createIndexDocument(AsyncIndexer.java:242)
    3. org.wso2.carbon.registry.indexing.AsyncIndexer$IndexingTask.run(AsyncIndexer.java:210)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames