[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - context.xml is not loading

c_eric_ray do-not-reply at jboss.com
Wed Apr 11 15:07:11 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036497#4036497

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036497



More information about the jboss-user mailing list