javax.resource.ResourceException: IJ031084: Unable to create connection

Stack Overflow | Mark Rotteveel | 7 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.

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    Could not initialize class org.firebirdsql.encodings.EncodingFactory$DefaultEncodingFactory

    at org.firebirdsql.encodings.EncodingFactory.getPlatformDefault()
  2. Jaybird
    FBDriver.connect
    1. org.firebirdsql.encodings.EncodingFactory.getPlatformDefault(EncodingFactory.java:428)
    2. org.firebirdsql.jdbc.FBDriverPropertyManager.handleEncodings(FBDriverPropertyManager.java:241)
    3. org.firebirdsql.jdbc.FBDriverPropertyManager.normalize(FBDriverPropertyManager.java:208)
    4. org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:116)
    4 frames
  3. IronJacamar
    LocalManagedConnectionFactory.createManagedConnection
    1. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:321)
    2. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:352)
    3. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:287)
    3 frames
  4. IronJacamar
    OnePool.testConnection
    1. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1320)
    2. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:496)
    3. org.jboss.jca.core.connectionmanager.pool.AbstractPool.internalTestConnection(AbstractPool.java:1052)
    4. org.jboss.jca.core.connectionmanager.pool.strategy.OnePool.testConnection(OnePool.java:93)
    4 frames
  5. JBoss Application Server: Connector Subsystem
    PoolOperations$1.execute
    1. org.jboss.as.connector.subsystems.common.pool.PoolOperations$TestConnectionInPool.invokeCommandOn(PoolOperations.java:234)
    2. org.jboss.as.connector.subsystems.common.pool.PoolOperations$1.execute(PoolOperations.java:90)
    2 frames
  6. JBoss Application Server: Controller Core
    ModelControllerImpl.execute
    1. org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:890)
    2. org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:659)
    3. org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:370)
    4. org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1329)
    5. org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:400)
    6. org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:222)
    6 frames
  7. JBoss Application Server: Domain HTTP Interface
    DomainApiHandler.handleRequest
    1. org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:219)
    1 frame
  8. Undertow Core
    EncodingHandler.handleRequest
    1. io.undertow.server.handlers.encoding.EncodingHandler.handleRequest(EncodingHandler.java:72)
    1 frame
  9. JBoss Application Server: Domain HTTP Interface
    SubjectDoAsHandler$1.run
    1. org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72)
    2. org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68)
    2 frames
  10. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:422)
    2 frames
  11. JBoss Application Server: Controller Core
    AccessAuditContext.doAs
    1. org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:149)
    1 frame
  12. 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
  13. Undertow Core
    BlockingHandler.handleRequest
    1. io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:56)
    1 frame
  14. JBoss Application Server: Domain HTTP Interface
    DomainApiCheckHandler.handleRequest
    1. org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:95)
    1 frame
  15. Undertow Core
    HttpServerExchange$1.run
    1. io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
    2. io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:805)
    2 frames
  16. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames
  17. JBoss Threads
    JBossThread.run
    1. org.jboss.threads.JBossThread.run(JBossThread.java:320)
    1 frame