[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple instances of same application in JBOSS
Kooper
do-not-reply at jboss.com
Tue Dec 2 04:14:55 EST 2008
Yes, I have two ears with same application, for example Myapp.ear and Myapp1.ear Ear has the structure:
| lib dir
| Meta-inf dir
| myapp-ejb.jar
| myapp.jar
| myapp.war
| I have application.xml in myapp.ear/meta-in:
|
| | <?xml version="1.0" encoding="UTF-8"?>
| | <application xmlns="http://java.sun.com/xml/ns/javaee"
| | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| | http://java.sun.com/xml/ns/javaee/application_5.xsd"
| | version="5">
| | <display-name>My App EAR</display-name>
| |
| | <module>
| | <ejb>myapp-ejb.jar</ejb>
| | </module>
| |
| | <module>
| | <java>myapp.jar</java>
| | </module>
| |
| | <module>
| | <web>
| | <web-uri>myapp.war</web-uri>
| | <context-root>myapp</context-root>
| | </web>
| | </module>
| |
| | </application>
| when adding jboss-app.xml file it throws exception mentioned above.
| Here is the code of jboss-app.xml:
|
| | <?xml version="1.0"?>
| | <jboss-app>
| | <loader-repository>myapp.com:archive=myapp.ear</loader-repository>
| | </jboss-app>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193681#4193681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193681
More information about the jboss-user
mailing list