Joined: Thu Sep 18, 2008 8:48 am Posts: 3 Location: berlin
|
Hi there,
I'm running Hibern8 3 inside a web application deployed on a Tomcat 6.
Running the module outside the webapp is cool, but when inside there seems to be contention with the JBoss client jar (jbossall-client-4.2.2.GA.jar) which sits in the WEB-INF/lib directory.
The following stacktrace is dumped:
java.lang.NoSuchMethodError: org.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/hibernate/reflection/ReflectionManager;
at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:82)
at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:356)
at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1304)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:730)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:33)
at [My code]
It looks like the org.hibernate.search stuff packaged inside the JBoss client jar interferes with what I'm actually trying to do. When I remove the jar everything's fine.
Any ideas are much appreciated!
Thanks
Dennis
|
|