-->
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.  [ 2 posts ] 
Author Message
 Post subject: JBossCache 2.0.0
PostPosted: Tue Nov 06, 2007 7:16 am 
Newbie

Joined: Thu Feb 02, 2006 10:09 pm
Posts: 9
Hi,

I guess Hibernate 3.2.5.ga cache support is not compatible with JBossCache 2.0.0. It throws the exception below, because the TransactionManagerLookup class changed to the subpackage transaction.
I tried org.hibernate.cache.TreeCacheProvider and org.hibernate.cache.OptimisticTreeCacheProvider. Both throw the exception.
Is there any hot fix or cache provider implementation that supports JBossCache 2.0.0?

Thanks,
Danilo


Hibernate version: 3.2.5.ga

Stack trace:

Code:
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup
   at java.lang.Class.getDeclaredConstructors0(Native Method)
   at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
   at java.lang.Class.getConstructor0(Class.java:2699)
   at java.lang.Class.newInstance0(Class.java:326)
   at java.lang.Class.newInstance(Class.java:308)
   at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:375)
   at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:245)
   at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
   at
(...)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 06, 2007 5:47 pm 
Newbie

Joined: Thu Feb 02, 2006 10:09 pm
Posts: 9
Found the "answer" at http://www.jboss.com/index.html?module= ... &p=4092705


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.