Home  >  Forum  >  Hibernate
Post New Query

JDBCConnectionException: Cannot open connection



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)




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


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




©2019 concretepage.com | Privacy Policy | Contact Us