I'm seeing the error message below in jboss-head
when running ejb3.
The problem is that jboss-head is using hibernate 3.2.4.SP1_CP01-brew
while it doesn't look like hibernate core was updated to use
jbosscache-2.x until 3.3?
http://lists.jboss.org/pipermail/hibernate-commits/2007-May/001261.html
20:38:02,934 ERROR [AbstractKernelController] Error installing to Start:
name=persistence.units:jar=ejbthree832.jar,unitName=tempdb state=Create
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup
at java.lang.Class.getDeclaredConstructors0(Native Method)
at
java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
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
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:918)
at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:656)
at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
at
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:258)
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx