3 Replies Latest reply on Dec 11, 2007 12:58 PM by Peter Johnson

    Ear with two web applications, Helpe-me

    Pedro Neves Newbie

      Hello,

      I have a problem that I am not knowing resolve:

      I have a EAR with a jar EJB andtwo Web applications, but how do I access the two web applications?

      That is, in my file application.xml I config only a web-module (not allowed put two)
      I have this application.xml

      <application>
       <display-name>myapp</display-name>
       <module>
       <ejb>myapp_ejb.jar</ejb>
       </module>
      
       <module>
       <web>
       <web-uri>myapp_principal.war</web-uri>
       <context-root>/myapp</context-root>
       </web>
       </module>
      </application>


      And this structure:

      myapp.ear
       `- myapp_ejb.jar
       `- myapp_principal.war
       `-index.html
       `-WEB-INF.html
       `...
       `- myapp_xx.war
       `-index.html
       `-WEB-INF.html
       `...


      How do I access the application myapp_xx ? I only have the web-module of myapp_principal?

      What I have to set? I am using JBoss 4.2


      Thanks . Helpe-me

      Pedro Neves - Brazil