javax.resource.ResourceException: Could not create connection

com.br | 3 months ago
  1. 0

    jboss - Jboss nao inicia

    com.br | 1 year ago
    javax.resource.ResourceException: Could not create connection
  2. 0

    jboss - Jboss nao inicia

    com.br | 3 months ago
    javax.resource.ResourceException: Could not create connection
  3. 0

    cannot build geosdi 1.6.x

    GitHub | 2 years ago | avgils
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: password authentication failed for user "postgres")
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenNMS - discuss - ONMS Install

    nabble.com | 12 months ago
    java.sql.SQLException: Could not get an administrative connection to the database.  Is the database running, listening for TCP connections, and allowing us to connect and authenticate from localhost?  Tried connecting to database specified by data source SimpleDataSource[URL='jdbc:postgresql://localhost:5432/postgres', driver class='org.postgresql.Driver', properties: user='postgres', password='postgres'].  Original error: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"
  6. 0

    [NMS-3118] 1.6.2 Installation on Windows fails to accept PostgreSQL password - The OpenNMS Issue Tracker

    opennms.org | 12 months ago
    org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres"

  1. silex 13 times, last 5 days ago
  2. csanyigabor 1 times, last 3 months ago
  3. silex 8 times, last 6 months ago
25 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.postgresql.util.PSQLException

    FATAL: password authentication failed for user "postgres"

    at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication()
  2. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:420)[postgresql-9.4-1200.jdbc4.jar:9.4]
    2. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:195)[postgresql-9.4-1200.jdbc4.jar:9.4]
    3. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)[postgresql-9.4-1200.jdbc4.jar:9.4]
    4. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:127)[postgresql-9.4-1200.jdbc4.jar:9.4]
    5. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)[postgresql-9.4-1200.jdbc4.jar:9.4]
    6. org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)[postgresql-9.4-1200.jdbc4.jar:9.4]
    7. org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:41)[postgresql-9.4-1200.jdbc4.jar:9.4]
    8. org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)[postgresql-9.4-1200.jdbc4.jar:9.4]
    9. org.postgresql.Driver.makeConnection(Driver.java:414)[postgresql-9.4-1200.jdbc4.jar:9.4]
    10. org.postgresql.Driver.connect(Driver.java:282)[postgresql-9.4-1200.jdbc4.jar:9.4]
    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.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:302)
    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.SchemaUpdate.execute(SchemaUpdate.java:194)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    3. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:178)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    4. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:457)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737)[hibernate-core-4.0.1.Final.jar:4.0.1.Final]
    5 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