-->
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: jta.jar no longer optional in 2.1beta3b?
PostPosted: Thu Sep 25, 2003 1:33 am 
Newbie

Joined: Thu Sep 25, 2003 1:20 am
Posts: 1
I thought I would have a look at the new features of 2.1beta3b as some look like they might be useful.

I have been using 2.03 which has been working fine. I copied over the new hibernate2.jar and the others in /lib that I am using. When I ran it I got the following error when I tried to open a session:

Code:
----- Root Cause -----
java.lang.NoClassDefFoundError: javax/transaction/Synchronization
   at net.sf.hibernate.impl.SessionFactoryImpl.openSession(SessionFactoryImpl.java:277)


This was fixed by adding in the jta.jar file. The /lib/VERSIONS file states:

Code:
jta.jar
- Standard JTA API
- runtime, optional


I guess it is no longer optional with the use of JDBCTransaction as the default.


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.