Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: where to put context myapp.xml files

Altankov Peter

2003-12-09

Replies:

It must be put in TOMCAT_HOME/<webapps>, where <webapps> is defined in your server.xml 's <Host> tag, i.e.:

<Host name="localhost" debug="0" appBase="path_to_webapps_folder"/>

---AND ---

Your context is marked as reloadable i.e:

<Context debug="0"
     docBase="/path/to/your_app"
     path="/desired_mapping"
     reloadable="true">      <---- this property set to true



-----Original Message-----
From: Adam Hardy [mailto:ahardy.struts@(protected)]
Sent: 09 Декември 2003 г. 13:09
To: Tomcat Users List
Subject: where to put context myapp.xml files


Hi,
I thought that xml context configuration files had to reside in
tomcat/webapps, but it seems they only take effect when they are placed
in tomcat/conf/Catalina/localhost.

Is this correct or am I doing something that prevents tomcat from using
it when I place it in webapps?

Thanks
Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.