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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...