anonymous wrote : It seems as if this class will be loaded only once and the 
first deployment wins. 

In such cases, you will have to load that class again through a separate 
classloader. Something along these lines:

* Package all the relevant and correct version of hibernate jar files with your 
application ears. You can place them in EAR/lib folder. Each ear should package 
these jars.

* Package the hibernate.properties in each EAR. Place that file wherever they 
are now (at the root of EAR?)

* Configure scoped classloading for each of the EAR through jboss-app.xml. 
https://www.jboss.org/community/docs/DOC-9288. Ensure that the jboss-app.xml 
contains a unique loader-repository name for each of the ear. 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203652
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to