Java Mailing List Archive

http://www.junlu.com/

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

Re: where to put context myapp.xml files

Adam Hardy

2003-12-09

Replies:

Yes, that's what I thought, but I am upgrading to 5.0.16 and it is not
the case now. Perhaps I have killed the configuration somehow but I have
set all the salient configuration items correctly.

I am sceptical whether you really need to set reloadable to true - which
I have done anyway - because in a production environment this will lead
to unnecessary overhead.

Adam

On 12/09/2003 02:20 PM Altankov Peter wrote:
> 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) ?
> 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)
>
>


--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian

---------------------------------------------------------------------
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.