Database layer(hibernate) failed to connect jdbc, thought all the jdbc connections at the
weblogic fin
------------------------------------------------------------------------------------------------------
Key: HIBERNATE-107
URL:
https://jira.jboss.org/jira/browse/HIBERNATE-107
Project: Hibernate
Issue Type: Feature Request
Environment: Operation System: Linux
S/w: Java, hydernate, spring,weblogic,informix
Reporter: Praveen Deverachetty
Assignee: Steve Ebersole
Hi,
We found a scenario where the app failed connecting to database and failing with the
following exceptions. At that point we verified with the weblogic admin and dba and all
looks fine. Any idea what went wrong. After the weblogic server bounce the application
seems working fine. This is the first time we saw this in the app after went live, i think
it is 3 months we are live in production.
2008-10-22 11:01:45,905 WARN [org.hibernate.util.JDBCExceptionReporter] - SQL Error:
-79730, SQLState: IX000
2008-10-22 11:01:45,905 ERROR [org.hibernate.util.JDBCExceptionReporter] - Connection not
established
2008-10-22 11:01:45,907 ERROR [com.circuitcity.instantcredit.services.persistance.impl] -
find failed
javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException:
could not inspect JDBC autocommit mode
at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:630)
at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:195)
..........
--------------------
Caused by: java.sql.SQLException: Connection not established
at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:400)
at com.informix.jdbc.IfxSqliConnect.h(IfxSqliConnect.java:6287)
at com.informix.jdbc.IfxSqliConnect.prepareStatement(IfxSqliConnect.java:2310)
....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira