org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]

Stack Overflow | Zifnab | 2 months ago
  1. 0

    Unable to make JDBC Connection [jdbc:postgres://localhost:5432/hibernatedb]

    Stack Overflow | 2 months ago | Zifnab
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  2. 0

    Latest Hibernate and Derby: Unable to make JDBC Connection

    Stack Overflow | 11 months ago | Kevin Workman
    org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
  3. 0

    Exception in thread "main" org.hibernate.HibernateException: Unable to make JDBC Connection

    Stack Overflow | 2 years ago | Arthur
    org.hibernate.HibernateException: Unable to make JDBC Connection [jdbc:msql://127.0.0.1:3306/test]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hibernate cfg.xml - unable to make jdbc connection

    Stack Overflow | 2 years ago | Biscuit128
    org.hibernate.HibernateException: Unable to make JDBC Connection [jdbc:mariadb://ip:port/schema?autoReconnect=true]
  6. 0

    Can't connect to postgres

    Stack Overflow | 11 months ago | Sandah Aung
    org.hibernate.HibernateException: Unable to make JDBC Connection [postgres://ec2-54-235-170-124.compute-1.amazonaws.com:5432/d3tqm9uep7oufb]

    6 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.hibernate.HibernateException

      Unable to make JDBC Connection [jdbc:postgres://localhost:5432/hibernatedb]

      at org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection()
    2. org.hibernate.engine
      DriverManagerConnectionProviderImpl.configure
      1. org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator.createConnection(BasicConnectionCreator.java:60)
      2. org.hibernate.engine.jdbc.connections.internal.PooledConnections.addConnections(PooledConnections.java:123)
      3. org.hibernate.engine.jdbc.connections.internal.PooledConnections.<init>(PooledConnections.java:42)
      4. org.hibernate.engine.jdbc.connections.internal.PooledConnections.<init>(PooledConnections.java:20)
      5. org.hibernate.engine.jdbc.connections.internal.PooledConnections$Builder.build(PooledConnections.java:161)
      6. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.buildPool(DriverManagerConnectionProviderImpl.java:109)
      7. org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure(DriverManagerConnectionProviderImpl.java:72)
      7 frames
    3. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
      1 frame
    4. Hibernate
      AbstractServiceRegistryImpl.getService
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:240)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
      2 frames
    5. org.hibernate.engine
      JdbcEnvironmentInitiator.initiateService
      1. org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.buildJdbcConnectionAccess(JdbcEnvironmentInitiator.java:145)
      2. org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:66)
      3. org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator.initiateService(JdbcEnvironmentInitiator.java:35)
      3 frames
    6. org.hibernate.boot
      StandardServiceRegistryImpl.initiateService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
      1 frame
    7. Hibernate
      JdbcServicesImpl.configure
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:257)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:231)
      3. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
      4. org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:51)
      4 frames
    8. org.hibernate.boot
      StandardServiceRegistryImpl.configureService
      1. org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:94)
      1 frame
    9. Hibernate
      AbstractServiceRegistryImpl.getService
      1. org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:240)
      2. org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:210)
      2 frames
    10. org.hibernate.boot
      MetadataBuilderImpl.build
      1. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.handleTypes(MetadataBuildingProcess.java:352)
      2. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.complete(MetadataBuildingProcess.java:111)
      3. org.hibernate.boot.model.process.spi.MetadataBuildingProcess.build(MetadataBuildingProcess.java:83)
      4. org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:418)
      5. org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:87)
      5 frames
    11. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:691)
      2. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:726)
      2 frames
    12. com.kg.hibernate
      HibernateTest.main
      1. com.kg.hibernate.main.HibernateTest.main(HibernateTest.java:16)
      1 frame