[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Upgrading hibernate in JBoss 4.2.2.GA

jaikiran do-not-reply at jboss.com
Fri Aug 15 13:23:35 EDT 2008

anonymous wrote : To me it still smells like my app is using the old hibernate

Okay, so let's try the next best way to debug this. In your run.bat file add -verbose:class option to the JAVA_OPTS and restart JBoss. The -verbose:class will print out the classes being loaded and the jar files being used for loading the classes. You may want to redirect STDOUT to some file since the logging will be too much.

run.bat -b > myconsole.log

Post or upload this verbose class information.

By the way, in the other thread that i was refering to, in addition to the classloading configuration and all the hibernate jars that you have included, we had to  

1) Also add hibernate-search.jar (the version is 3.0.0.GA) to the lib folder of EAR
2) Also add lucene-core-2.2.0.jar to the lib folder of EAR.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170835#4170835

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170835

More information about the jboss-user mailing list