tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cri_sys <ser...@gmail.com>
Subject Re: Tomee / Hibernate 3.x
Date Mon, 09 Jul 2012 22:35:48 GMT
Hello,
I changed fom 4.1.4 Final to 4.1.0 Final the version of Hibernate, entity
manager, but still getting the same exception.
at
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2273)
	at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2269)
	at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1738)
	at
org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:88)
	at
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)
	... 9 more
Caused by: org.hibernate.HibernateException: Unable to create specified
JtaPlatform class [org.apache.openejb.hibernate.OpenEJBJtaPlatform]
	at
org.hibernate.service.jta.platform.internal.JtaPlatformInitiator.initiateService(JtaPlatformInitiator.java:89)
	at
org.hibernate.service.jta.platform.internal.JtaPlatformInitiator.initiateService(JtaPlatformInitiator.java:47)
	at
org.hibernate.service.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:69)
	at
org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:177)
	... 17 more
Caused by: java.lang.ClassCastException:
org.apache.openejb.hibernate.OpenEJBJtaPlatform cannot be cast to
org.hibernate.service.jta.platform.spi.JtaPlatform
	at
org.hibernate.service.jta.platform.internal.JtaPlatformInitiator.initiateService(JtaPlatformInitiator.java:86)
	... 20 more

--
View this message in context: http://openejb.979440.n4.nabble.com/Tomee-Hibernate-3-x-tp4656008p4656191.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message