javax.resource.ResourceException: Could not create connection

Stack Overflow | tranquvis | 4 months ago
  1. 0

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

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

    GitHub comment 1#143594357

    GitHub | 1 year 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

    Volunteer database / Discussion / Help:Apache error

    sourceforge.net | 11 months ago
    org.h2.jdbc.JdbcSQLException: Connection is broken [90067-59]Error Code: 90067
  5. 0

    App loads in white page

    GitHub | 2 years ago | marcellodesales
    org.h2.jdbc.JdbcSQLException: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-176]

  1. Shadd518 2 times, last 3 months ago
  2. serious2monkeys 1 times, last 4 months ago
30 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. 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.engine.jdbc.internal.JdbcServicesImpl$ConnectionProviderJdbcConnectionAccess.obtainConnection(JdbcServicesImpl.java:253)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    2. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:119)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    3. org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    4. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    5. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    6. org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    7. org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    8. org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    9. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    9 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