org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: database "osm" does not exist)

  1. 0

    openstreetmap - error in data read in OSMembrane osmosis - Geographic Information Systems Stack Exchange

    stackexchange.com | 6 months ago
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: database "osm" does not exist)
  2. 0

    error in data read in OSMembrane osmosis

    Geographic Information Systems | 4 years ago | neogeomat
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: database "osm" does not exist)
  3. 0

    ERP Baukasten Nuclos - Nuclos - Thema: Port 80 (1/2)

    nuclos.de | 6 months ago
    org.nuclos.server.dblayer.DbException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: Passwort-Authentifizierung f?r Benutzer ?nuclos? fehlgeschlagen)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERP Baukasten Nuclos - Nuclos - Thema: Port 80 (1/2)

    nuclos.de | 6 months ago
    org.nuclos.server.dblayer.DbException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: Passwort-Authentifizierung f?r Benutzer ?nuclos? fehlgeschlagen)
  6. 0

    grails application startup fails - port issue ? : Pivotal Web Services Support

    pivotal.io | 1 year ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Cannot resolve reference to bean 'lobHandlerDetector' while setting bean property 'lobHandler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'lobHandlerDetector': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Error while extracting DatabaseMetaData; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (FATAL: too many connections for role "styafsxf")
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: database "osm" does not exist

    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages()
  2. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:469)
    2. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:112)
    3. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
    4. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
    5. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
    6. org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
    7. org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:30)
    8. org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    9. org.postgresql.Driver.makeConnection(Driver.java:393)
    10. org.postgresql.Driver.connect(Driver.java:267)
    10 frames
  3. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
    2. org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
    3. org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
    4. org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
    5. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
    6. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
    6 frames
  4. Spring Framework
    DataSourceUtils.getConnection
    1. org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
    2. org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
    2 frames
  5. org.openstreetmap.osmosis
    PostgreSqlCopyWriter.process
    1. org.openstreetmap.osmosis.pgsnapshot.common.DatabaseContext.doesTableExist(DatabaseContext.java:215)
    2. org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.DatabaseCapabilityChecker.initialize(DatabaseCapabilityChecker.java:34)
    3. org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.DatabaseCapabilityChecker.isWayBboxSupported(DatabaseCapabilityChecker.java:61)
    4. org.openstreetmap.osmosis.pgsnapshot.v0_6.PostgreSqlCopyWriter.initialize(PostgreSqlCopyWriter.java:72)
    5. org.openstreetmap.osmosis.pgsnapshot.v0_6.PostgreSqlCopyWriter.process(PostgreSqlCopyWriter.java:102)
    5 frames
  6. osmosis-xml
    OsmHandler.endElement
    1. org.openstreetmap.osmosis.xml.v0_6.impl.BoundsElementProcessor.end(BoundsElementProcessor.java:84)
    2. org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHandler.java:107)
    2 frames
  7. Xerces2-j
    SAXParserImpl.parse
    1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
    3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
    4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    10. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    11. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    11 frames
  8. Java RT
    SAXParser.parse
    1. javax.xml.parsers.SAXParser.parse(Unknown Source)
    1 frame
  9. osmosis-xml
    XmlReader.run
    1. org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:111)
    1 frame
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame