javax.resource.ResourceException: Could not create connection

Stack Overflow | tranquvis | 9 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

    Can't connect to MySql server with hibernate and JBoss using persistence api

    Stack Overflow | 9 months ago | tranquvis
    javax.resource.ResourceException: Could not create connection
  2. 0

    GitHub comment 1#143594357

    GitHub | 2 years ago | d33tah
    javax.resource.ResourceException: IJ031084: Unable to create connection
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error In Preview Data Model

    GitHub | 3 months ago | chengkuangan
    javax.resource.ResourceException: Could not create connection
  5. 0

    NPE for cards db on server side

    GitHub | 3 years ago | magenoxx
    org.h2.jdbc.JdbcSQLException: General error: "java.lang.NullPointerException" [50000-178]
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. org.h2.jdbc.JdbcSQLException

    Verbindung ist unterbrochen: "unexpected status 1308622848" Connection is broken: "unexpected status 1308622848" [90067-161]

    at org.h2.message.DbException.getJdbcSQLException()
  2. H2 Database Engine
    Driver.connect
    1. org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
    2. org.h2.message.DbException.get(DbException.java:169)
    3. org.h2.message.DbException.get(DbException.java:146)
    4. org.h2.engine.SessionRemote.done(SessionRemote.java:553)
    5. org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:109)
    6. org.h2.engine.SessionRemote.connectServer(SessionRemote.java:373)
    7. org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:267)
    8. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:110)
    9. org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:94)
    10. org.h2.Driver.connect(Driver.java:72)
    10 frames
  3. IronJacamar
    LocalManagedConnectionFactory.createManagedConnection
    1. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:249)
    2. org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:235)
    2 frames
  4. IronJacamar
    AbstractConnectionManager.allocateConnection
    1. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.createConnectionEventListener(SemaphoreArrayListManagedConnectionPool.java:761)
    2. org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreArrayListManagedConnectionPool.getConnection(SemaphoreArrayListManagedConnectionPool.java:343)
    3. org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:397)
    4. org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:365)
    5. org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:329)
    6. org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:368)
    7. org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464)
    7 frames
  5. IronJacamar
    WrapperDataSource.getConnection
    1. org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129)
    1 frame
  6. Hibernate EJB
    InjectedDataSourceConnectionProvider.getConnection
    1. org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:67)[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
    1 frame
  7. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    2. org.hibernate.tool.hbm2ddl.DatabaseExporter.<init>(DatabaseExporter.java:52)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    3. org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:368)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    4. org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:305)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    5. org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:294)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    6. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:452)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    7. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    7 frames
  8. Hibernate EJB
    HibernatePersistence.createContainerEntityManagerFactory
    1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:84)[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
    2. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
    3. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
    4. org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73)[hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final]
    4 frames
  9. JPA
    PersistenceUnitServiceImpl.start
    1. org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)[jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    2. org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)[jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]
    2 frames
  10. JBoss Modular Service Container
    ServiceControllerImpl$StartTask.run
    1. org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
    2. org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
    2 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_79]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_79]
    3. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_79]
    3 frames