-->
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.  [ 3 posts ] 
Author Message
 Post subject: could not register synchronization with JTA TransactionMgr
PostPosted: Wed Apr 25, 2007 10:15 am 
Newbie

Joined: Wed May 31, 2006 10:17 am
Posts: 2
Hi,

I am using hibernate 2.1.8.My application is deployed on WAS 6.0

I am using query caching and second level caching.Cache concurrency strategy is READ ONLY.
Appliaction is running fine for 1 week.But after that following exception is comming :

net.sf.hibernate.TransactionException: could not register synchronization with JTA TransactionManager
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3369)
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3333)

I am working on the same.It will be of great help if someone can tell why it is happening.It is very critical.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 25, 2007 6:31 pm 
Newbie

Joined: Tue Apr 24, 2007 4:32 am
Posts: 2
The very possible cause of this Exception is the Transaction is not active(may be is timed out n is marked for ROLLBACK) and the application is attempting to join to the transaction.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 26, 2007 11:26 am 
Newbie

Joined: Wed May 31, 2006 10:17 am
Posts: 2
Thanks for the quick response...

What you are saying is correct..But i am using a container managed transaction..when a new request comes container starts a new transaction..
In my code i am not providing any transaction demarcation...I am not beginning the transaction..neither committing it....

The application is working fine on WAS 5. But when deployed on WAS 6 the problem is occuring..

Is there some integration problem with WAS 6.0..


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

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.