0 Replies Latest reply on Apr 11, 2007 3:07 PM by Eric Ray

    context.xml is not loading

    Eric Ray Novice

      Per the instructions here: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html I've bundled my context.xml file with my .ear file but it doesn't seem to be loading. I have it bundled in the .war in META-INF.

      Contents of context.xml

      <!-- Add Static image Files -->
      <Context path="/dcap/elements"
      docBase="D:\Development\tmp\img\elements"
      debug="0"
      reloadable="true">
      </Context>
      


      When this code fragment is placed in server.xml it works just fine. However, I do not want to modify server.xml. I want this descriptor fragment to be bundled with my application. Any ideas on what's wrong or is this an issue with JBoss.

      I'm using JBoss 4.0.4.GA