Home  >  Forum  >  Hibernate
Post New Query

JDBCConnectionException: Cannot open connection


joined on
April 23,2013
Asked on May 11,2013
Hi All,
Please indicate the issue.

 org.hibernate.exception.JDBCConnectionException: Cannot open connection
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:99)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
    at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
    at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
    at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:142)
    at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:85)
    at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1463)

joined on
May 11,2013
Replied on May 11,2013

It seems that database server is not up, Check if the database is it accessible.
joined on
March 18,2013
Replied on May 11,2013

It is also possible that your configuration of database connection is not correct, may be username or password is incorrect.

Write Answer








Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us