[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple instances of same application in JBOSS

jaikiran do-not-reply at jboss.com
Tue Dec 2 04:27:18 EST 2008


Are you including the same jboss-app.xml in the META-INF of both the EARs? If yes, then you need to change it to make them unique. Here's an example:
For ear1:

  | <?xml version="1.0"?>
  |     <jboss-app>
  |       <loader-repository>myapp.com:archive=MyAppOne</loader-repository>
  |     </jboss-app> 	

For ear2:


  | <?xml version="1.0"?>
  |     <jboss-app>
  |       <loader-repository>myapp.com:archive=MyAppTwo</loader-repository>
  |     </jboss-app> 	

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

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



More information about the jboss-user mailing list