1 Reply Latest reply on Nov 6, 2003 6:17 PM by adrian.brock

    EAR deployment and app xml config with exploded WAR

    jgkenned

      I have a situation in which my web application can't exist as a single WAR file. I have exploded it into a direction (i.e. d:\....\jboss\server\default\deploy\webapp.war. It works great at the context "/webapp". But now I want to have this webapp be accessed through the "/" context. How should I specify the proper config in my application.xml so that it finds my exploded WAR direction. I have already tried this:


      <display-name>mywebapp</display-name>


      <web-uri>webapp.war</web-uri>
      <context-root>/</context-root>




      I do know that if I include the WAR file inside the EAR file the above will work. However, files under the WAR directory structure can be changed frequently through interfaces I have created. You can't upload and download files unless the WAR is exploded out.

      thanks