These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: org.hibernate.transaction.JDBCTransaction - Could not toggle
PostPosted: Mon Jul 03, 2006 1:03 pm 
Newbie

Joined: Mon Jul 03, 2006 12:55 pm
Posts: 1
Bonjour,
J'ai une erreur lors de mon commit qui arrive 1 fois sur 10 de manière aléatoire, je suis sur tomcat avec le pool C3p0,
ce problème survient lorsaque je lance plusieurs traitement en même temps

org.hibernate.SessionException: Session is closed
at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:131)
at org.hibernate.transaction.JDBCTransaction.toggleAutoCommit(JDBCTransaction.java:194)
at org.hibernate.transaction.JDBCTransaction.rollbackAndResetAutoCommit(JDBCTransaction.java:186)
at org.hibernate.transaction.JDBCTransaction.rollback(JDBCTransaction.java:162)
at com.onfin.core.utils.hibernate.HibernateUtils.rollbackTransaction(HibernateUtils.java:279)
at com.onfin.core.utils.hibernate.HibernateUtils.commitTransaction(HibernateUtils.java:264)
at com.pfp2.frmk.services.jobs.KtpPfp2ImportJob.execute(KtpPfp2ImportJob.java:1134)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

Merci pour votre aide

Jérémie


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.