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