You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dominique Deleris <do...@bluewin.ch> on 2002/08/09 23:00:58 UTC

Tomcat4 : specific settings for Context

Hello list,

I would like to setup some specific settings per Tomcat
Context. Debian flavour for Tomcat automatically detects all apps
deployed in <CATALINA_HOME>/webapps and sets up all needed
settings : there is no <Context> entry in server.xml for the
different applications.

Now I woul like to setup the "reloadable" attribute for a
specific application in Tomcat : how should I do, since I can not
find anything related to my application Context in Tomcat config
files...

I hope this was clear enough :-)

Regards,
-- 
Dominique Deleris
http://potatoworld.tuxfamily.org


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat4 : specific settings for Context

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On 9 Aug 2002, Dominique Deleris wrote:

> Date: 09 Aug 2002 23:00:58 +0200
> From: Dominique Deleris <do...@bluewin.ch>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user-list <to...@jakarta.apache.org>
> Subject: Tomcat4 : specific settings for Context
>
> Hello list,
>
> I would like to setup some specific settings per Tomcat
> Context. Debian flavour for Tomcat automatically detects all apps
> deployed in <CATALINA_HOME>/webapps and sets up all needed
> settings : there is no <Context> entry in server.xml for the
> different applications.
>
> Now I woul like to setup the "reloadable" attribute for a
> specific application in Tomcat : how should I do, since I can not
> find anything related to my application Context in Tomcat config
> files...
>

For any version of Tomcat, you can put your own <Context> entry into
server.xml, even if the application is in webapps -- the standard Tomcat
distribution does this for the "/examples" webapp.

For Tomcat 4.1, you can also locate the <Context> element in a separate
file, and customize it as needed.  If you put this context configuration
file, instead of the directory or WAR, into webapps it will still get
auto-deployed.

> I hope this was clear enough :-)
>
> Regards,
> --
> Dominique Deleris
> http://potatoworld.tuxfamily.org

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>