java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource jdbc/jbpm with 0 connection(s) (0 still available)

GitHub | jackrabb1t | 3 months ago
  1. 0

    Database related initialization error

    GitHub | 3 months ago | jackrabb1t
    java.sql.SQLException: unable to get a connection from pool of a PoolingDataSource containing an XAPool of resource jdbc/jbpm with 0 connection(s) (0 still available)
  2. 0

    Local PostgreSQL refusing connection with IntelliJ IDEA

    Stack Overflow | 2 years ago
    org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  3. 0

    (solved) rhqctl install --server ( JBoss Operations Network Error )

    jboss-training.com | 1 year ago
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    talend aodn_mhl_sst failing

    GitHub | 1 year ago | danfruehauf
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  6. 0

    Evolutions does not tolerate no db connection

    GitHub | 1 year ago | huntc
    java.sql.SQLTimeoutException: Timeout after 1004ms of waiting for a connection.
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.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)[na:1.8.0_45]
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)[na:1.8.0_45]
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)[na:1.8.0_45]
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)[na:1.8.0_45]
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)[na:1.8.0_45]
    6. java.net.Socket.connect(Socket.java:589)[na:1.8.0_45]
    7. java.net.Socket.connect(Socket.java:538)[na:1.8.0_45]
    7 frames
  3. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.PGStream.<init>(PGStream.java:60)[postgresql-9.2-1003-jdbc4.jar:na]
    2. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:101)[postgresql-9.2-1003-jdbc4.jar:na]
    3. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)[postgresql-9.2-1003-jdbc4.jar:na]
    4. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)[postgresql-9.2-1003-jdbc4.jar:na]
    5. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)[postgresql-9.2-1003-jdbc4.jar:na]
    6. org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)[postgresql-9.2-1003-jdbc4.jar:na]
    7. org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)[postgresql-9.2-1003-jdbc4.jar:na]
    8. org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)[postgresql-9.2-1003-jdbc4.jar:na]
    9. org.postgresql.Driver.makeConnection(Driver.java:393)[postgresql-9.2-1003-jdbc4.jar:na]
    10. org.postgresql.Driver.connect(Driver.java:267)[postgresql-9.2-1003-jdbc4.jar:na]
    10 frames
  4. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:664)[na:1.8.0_45]
    2. java.sql.DriverManager.getConnection(DriverManager.java:247)[na:1.8.0_45]
    2 frames
  5. PostgreSQL JDBC Driver
    AbstractJdbc3XADataSource.getXAConnection
    1. org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:97)[postgresql-9.2-1003-jdbc4.jar:na]
    2. org.postgresql.xa.jdbc3.AbstractJdbc3XADataSource.getXAConnection(AbstractJdbc3XADataSource.java:54)[postgresql-9.2-1003-jdbc4.jar:na]
    3. org.postgresql.xa.jdbc3.AbstractJdbc3XADataSource.getXAConnection(AbstractJdbc3XADataSource.java:39)[postgresql-9.2-1003-jdbc4.jar:na]
    3 frames
  6. Bitronix Transaction Manager :: Core
    PoolingDataSource.getConnection
    1. bitronix.tm.resource.jdbc.PoolingDataSource.createPooledConnection(PoolingDataSource.java:341)[btm-2.1.4.jar:2.1.4]
    2. bitronix.tm.resource.common.XAPool.createPooledObject(XAPool.java:283)[btm-2.1.4.jar:2.1.4]
    3. bitronix.tm.resource.common.XAPool.grow(XAPool.java:391)[btm-2.1.4.jar:2.1.4]
    4. bitronix.tm.resource.common.XAPool.getInPool(XAPool.java:371)[btm-2.1.4.jar:2.1.4]
    5. bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:123)[btm-2.1.4.jar:2.1.4]
    6. bitronix.tm.resource.common.XAPool.getConnectionHandle(XAPool.java:91)[btm-2.1.4.jar:2.1.4]
    7. bitronix.tm.resource.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:258)[btm-2.1.4.jar:2.1.4]
    7 frames
  7. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:141)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    2. org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    3. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:194)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    4. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    5. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:505)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1750)[hibernate-core-4.2.0.Final.jar:4.2.0.Final]
    6 frames
  8. Hibernate EJB
    HibernatePersistence.createEntityManagerFactory
    1. org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:94)[hibernate-entitymanager-4.2.0.Final.jar:4.2.0.Final]
    2. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:920)[hibernate-entitymanager-4.2.0.Final.jar:4.2.0.Final]
    3. org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)[hibernate-entitymanager-4.2.0.Final.jar:4.2.0.Final]
    4. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:72)[hibernate-entitymanager-4.2.0.Final.jar:4.2.0.Final]
    4 frames
  9. JavaEE 7
    Persistence.createEntityManagerFactory
    1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)[hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]
    1 frame
  10. org.jbpm.vertx
    JbpmVerticle.start
    1. org.jbpm.vertx.VerticleServiceProvider.configureServices(VerticleServiceProvider.java:141)[__vertx~e90ebbed-eb74-4894-b19a-1d48034ff951~__vertx/:na]
    2. org.jbpm.vertx.VerticleServiceProvider.<init>(VerticleServiceProvider.java:72)[__vertx~e90ebbed-eb74-4894-b19a-1d48034ff951~__vertx/:na]
    3. org.jbpm.vertx.VerticleServiceProvider.configure(VerticleServiceProvider.java:46)[__vertx~e90ebbed-eb74-4894-b19a-1d48034ff951~__vertx/:na]
    4. org.jbpm.vertx.JbpmVerticle.start(JbpmVerticle.java:48)[__vertx~e90ebbed-eb74-4894-b19a-1d48034ff951~__vertx/:na]
    4 frames
  11. vert.x
    DefaultPlatformManager$21.run
    1. org.vertx.java.platform.Verticle.start(Verticle.java:82)[vertx-platform-2.1.5.jar:na]
    2. org.vertx.java.platform.impl.DefaultPlatformManager$21.run(DefaultPlatformManager.java:1758)[vertx-platform-2.1.5.jar:na]
    2 frames
  12. org.vertx.java
    DefaultContext$3.run
    1. org.vertx.java.core.impl.DefaultContext$3.run(DefaultContext.java:175)[vertx-core-2.1.5.jar:na]
    1 frame
  13. Netty
    SingleThreadEventExecutor$2.run
    1. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:370)[netty-all-4.0.21.Final.jar:4.0.21.Final]
    2. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)[netty-all-4.0.21.Final.jar:4.0.21.Final]
    3. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)[netty-all-4.0.21.Final.jar:4.0.21.Final]
    3 frames
  14. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45]
    1 frame