javax.resource.ResourceException: Could not create connection

hsqldb | tbronzan | 3 years 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    JBoss 7 HSQLDB XA Datasource

    Stack Overflow | 4 years ago | Nuker
    javax.resource.ResourceException: Could not create connection

    1 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.lang.NoSuchMethodException

      Method setURL not found

      at org.jboss.jca.adapters.jdbc.util.Injection.inject()
    2. IronJacamar
      XAManagedConnectionFactory.createManagedConnection
      1. org.jboss.jca.adapters.jdbc.util.Injection.inject(Injection.java:141)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final]
      2. org.jboss.jca.adapters.jdbc.util.Injection.inject(Injection.java:70)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final]
      3. org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXADataSource(XAManagedConnectionFactory.java:591)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final]
      4. org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:444)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final]
      5. org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:398)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final]
      5 frames
    3. IronJacamar
      OnePool.testConnection
      1. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:1144)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final]
      2. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:446)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final]
      3. org.jboss.jca.core.connectionmanager.pool.AbstractPool.internalTestConnection(AbstractPool.java:747)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final]
      4. org.jboss.jca.core.connectionmanager.pool.strategy.OnePool.testConnection(OnePool.java:91)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final]
      4 frames
    4. JBoss Application Server: Connector Subsystem
      PoolOperations$1.execute
      1. org.jboss.as.connector.subsystems.common.pool.PoolOperations$TestConnectionInPool.invokeCommandOn(PoolOperations.java:206)[wildfly-connector-8.0.0.Final.jar:8.0.0.Final]
      2. org.jboss.as.connector.subsystems.common.pool.PoolOperations$1.execute(PoolOperations.java:87)[wildfly-connector-8.0.0.Final.jar:8.0.0.Final]
      2 frames
    5. JBoss Application Server: Controller Core
      ModelControllerImpl.execute
      1. org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:591)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      2. org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:469)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      3. org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      4. org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:268)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      5. org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:272)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      6. org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:146)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      6 frames
    6. JBoss Application Server: Domain HTTP Interface
      SubjectDoAsHandler$1.run
      1. org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:169)
      2. org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72)
      3. org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68)
      3 frames
    7. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_65]
      2. javax.security.auth.Subject.doAs(Subject.java:415)[rt.jar:1.7.0_65]
      2 frames
    8. JBoss Application Server: Controller Core
      AccessAuditContext.doAs
      1. org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final]
      1 frame
    9. JBoss Application Server: Domain HTTP Interface
      SubjectDoAsHandler.handleRequest
      1. org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68)
      2. org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63)
      2 frames
    10. Undertow Core
      BlockingHandler.handleRequest
      1. io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:50)
      1 frame
    11. JBoss Application Server: Domain HTTP Interface
      DomainApiCheckHandler.handleRequest
      1. org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:77)
      1 frame
    12. Undertow Core
      HttpServerExchange$1.run
      1. io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52)
      2. io.undertow.server.Connectors.executeRootHandler(Connectors.java:168)
      3. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687)
      3 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_65]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_65]
      3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_65]
      3 frames