javax.resource.ResourceException

Could not create connection

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web538

  • via JBoss Issue Tracker by Jim Tyrrell, 1 year ago
    Could not create connection
  • via Coderanch by Vinit Parakh, 7 months ago
    Could not create connection
  • via Coderanch by Rodrigo Sasaki, 7 months ago
    Could not create connection
  • Stack trace

    • javax.resource.ResourceException: Could not create connection at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:461)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final] at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:398)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final] at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:1144)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final] at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:446)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final] at org.jboss.jca.core.connectionmanager.pool.AbstractPool.internalTestConnection(AbstractPool.java:747)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final] at org.jboss.jca.core.connectionmanager.pool.strategy.OnePool.testConnection(OnePool.java:91)[ironjacamar-core-impl-1.1.3.Final.jar:1.1.3.Final] at org.jboss.as.connector.subsystems.common.pool.PoolOperations$TestConnectionInPool.invokeCommandOn(PoolOperations.java:206)[wildfly-connector-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.connector.subsystems.common.pool.PoolOperations$1.execute(PoolOperations.java:87)[wildfly-connector-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:591)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:469)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:273)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:268)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:272)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:146)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.domain.http.server.DomainApiHandler.handleRequest(DomainApiHandler.java:169) at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:72) at org.jboss.as.domain.http.server.security.SubjectDoAsHandler$1.run(SubjectDoAsHandler.java:68) at java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_65] at javax.security.auth.Subject.doAs(Subject.java:415)[rt.jar:1.7.0_65] at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)[wildfly-controller-8.0.0.Final.jar:8.0.0.Final] at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:68) at org.jboss.as.domain.http.server.security.SubjectDoAsHandler.handleRequest(SubjectDoAsHandler.java:63) at io.undertow.server.handlers.BlockingHandler.handleRequest(BlockingHandler.java:50) at org.jboss.as.domain.http.server.DomainApiCheckHandler.handleRequest(DomainApiCheckHandler.java:77) at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_65] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_65] Caused by: java.sql.SQLInvalidAuthorizationSpecException: invalid authorization specification at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source) at org.hsqldb.jdbc.pool.JDBCXADataSource.getXAConnection(Unknown Source) at org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:444)[ironjacamar-jdbc-1.1.3.Final.jar:1.1.3.Final] ... 29 more Caused by: org.hsqldb.HsqlException: invalid authorization specification at org.hsqldb.error.Error.error(Unknown Source) at org.hsqldb.error.Error.error(Unknown Source) ... 31 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

    5 times, 3 weeks ago
    2 times, 1 month ago
    Unknown user
    Once, 1 month ago
    2 times, 1 month ago
    24 times, 2 months ago
    92 more bugmates