[jboss-user] [EJB/JBoss] - Re: Deploying multiple ears with
jaikiran
do-not-reply at jboss.com
Wed Jan 21 09:20:52 EST 2009
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
More information about the jboss-user
mailing list