javax.resource.ResourceException: Could not create connection

JBoss Issue Tracker | Lin Gao | 9 months ago
  1. 0

    When there's following log statement in "server.log": {code} WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (JCA PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException: Could not create connection at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:331) at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:288) at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:834) [ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1] at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.fillToMin(SemaphoreArrayListManagedConnectionPool.java:775) [ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1] at org.jboss.jca.core.connectionmanager.pool.mcp.PoolFiller.run(PoolFiller.java:97) [ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_80] Caused by: java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:517) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:557) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:233) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:556) at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:303) ... 5 more Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:389) at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:431) at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:882) at oracle.net.ns.NSProtocol.connect(NSProtocol.java:267) at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1625) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:365) ... 10 more {code} With the above warn message how to figure which DB connection could not be established with out testing connection using CLI or management console.

    JBoss Issue Tracker | 9 months ago | Lin Gao
    javax.resource.ResourceException: Could not create connection
  2. 0

    [AS7-3141] Problem with JBoss 7.1.0 and oracle datasource configuration - JBoss Issue Tracker

    jboss.org | 1 year ago
    java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/Oracle
  3. 0

    WLST Domain Creation using JRF template throws ... | Oracle Community

    oracle.com | 1 year ago
    java.sql.SQLRecoverableException: IO Error: Unknown host specified Error Code: 17002
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when starting UCM.

    Oracle Community | 3 years ago | oleg.k
    java.sql.SQLRecoverableException: IO Error: Socket read timed out
  6. 0

    Bea Weblogic - Oracle JDBC Connection failed

    Stack Overflow | 2 years ago | Davide
    java.sql.SQLRecoverableException: Errore di I/O: Invalid argument

  1. balintn 8 times, last 2 weeks ago
  2. rlovtangen 2 times, last 3 months ago
  3. Michael 1 times, last 4 months ago
  4. qavid 2 times, last 5 months ago
  5. balintn 41 times, last 2 months ago
17 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. oracle.net.ns.NetException

    The Network Adapter could not establish the connection

    at oracle.net.nt.ConnStrategy.execute()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:389)
    2. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:431)
    3. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:882)
    4. oracle.net.ns.NSProtocol.connect(NSProtocol.java:267)
    5. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1625)
    6. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:365)
    7. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:557)
    8. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:233)
    9. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
    10. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:556)
    10 frames
  3. IronJacamar
    LocalManagedConnectionFactory.createManagedConnection
    1. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:303)
    2. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:288)
    2 frames
  4. IronJacamar
    PoolFiller.run
    1. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:834)[ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1]
    2. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.fillToMin(SemaphoreArrayListManagedConnectionPool.java:775)[ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1]
    3. org.jboss.jca.core.connectionmanager.pool.mcp.PoolFiller.run(PoolFiller.java:97)[ironjacamar-core-impl-1.0.28.Final-redhat-1.jar:1.0.28.Final-redhat-1]
    3 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_80]
    1 frame