Intermittent SQLException: OALL8 est dans un état incohérent
Obtiens l'erreur ci-dessous par intermittence.
ERROR Exception occured while fetching the available subscriptions from the database - Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed
org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is org.hibernate.TransactionException: JDBC rollback failed
Caused by: org.hibernate.TransactionException: JDBC rollback failed
at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:204)
at org.springframework.orm.hibernate3.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:676)
... 80 more
Caused by: java.sql.SQLException: No more data to read from socket
java.sql.SQLException: Closed Connection
ERROR org.hibernate.transaction.JDBCTransaction 17/11/2010 20:49:41 - JDBC rollback failed
java.sql.SQLException: Io exception: Broken pipe
ERROR org.springframework.transaction.interceptor.TransactionInterceptor 17/11/2010 20:49:41 - Application exception overridden by rollback exception
org.hibernate.exception.GenericJDBCException: could not execute query
java.sql.SQLException: OALL8 is in an inconsistent state
Base De Données: Oracle9i
Pilote JDBC: 10.2.0.4.0
Environnement de développement: Mule 3.0, Spring et Hibernate 3.0 3
OriginalL'auteur jai | 2010-11-18
Vous devez vous connecter pour publier un commentaire.
"OALL8 est dans un état incohérent" est un générique d'exception qui se produit dans JDBC 10.1, 10.2, et 11.1. Il indique qu'une incohérence interne a été détectée dans la connexion JDBC, mais il ne fournit pas d'information sur ce qui a causé l'incohérence. L'exception ne se produit plus dans JDBC 11.2.
L'erreur est généralement causé par un bogue dans le code JDBC. Ceux-ci sont très difficiles à analyser. La solution la plus simple est de mettre à jour le pilote JDBC.
OriginalL'auteur Robert Merkwürdigeliebe