0 Replies Latest reply on Oct 27, 2011 1:06 PM by Jeffrey Schultz

    JBoss-web.xml no longer read after moving root context.

    Jeffrey Schultz Newbie

      I am using JBoss 4.2.3 and have relocated the root context by defining a Context element in the jboss/server/profile/deploy/jboss-web.deployer/server.xml file. This allows me to move the root context into a folder within our application folder, which is managed by end-users. I am trying to setup security on a couple of static files within the root context by creating a web.xml and jboss-web.xml under the WEB-INF folder, but it seems that after I move the root context that the jboss-web.xml is no longer used. Note that this does work before I move the root context.

      Is there something extra that I have to do if I move the root context? I also deleted the ROOT.war folder from the jboss-web.deployer folder, since it is now at another location.





              <description>A user </description>







      <!-- ADD static images DIRECTORY -->
      <Context path="/"