[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Can not run sampel with ORACLE Strange Exception

stefan.lang@amigon.de do-not-reply at jboss.com
Sat Mar 17 13:44:03 EDT 2007


I could solve it myself.

The problem is the classloader configuration in the default configuration.

Tomcat loads java.lang.Integer
JBoss loads java.lang.Integer

Code calls from Tomcat to Jboss Hibernate and 

CLASH!

You need to configure Tomcat to use Jboss Class loader, then it works.


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

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



More information about the jboss-user mailing list