users@glassfish.java.net

Re: How do I edit environment entries of web applications?

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 May 2007 13:44:43 PDT

You can find more information about context.xml support such as suggested in my blog - http://weblogs.java.net/blog/amyroh/archive/2007/05/context_webapp_1.html

Thanks,
Amy

> Just as a datapoint, when I edit environment entries
> in Tomcat, it doesn't modify web.xml. It keeps the
> setting in
> $TOMCAT_HOME/conf/Catalina/localhost/hudson.xml which
> will look like this:
>
> [code]
> <?xml version='1.0' encoding='utf-8'?>
> <Context displayName="Hudson" docBase="hudson"
> path="/hudson" reloadable="true"
> workDir="work/Catalina/localhost/hudson">
> <Environment name="HUDSON_HOME"
> type="java.lang.String" value="/files/hudson"/>
> /Context>
> [/code]
>
> So I hope you see that setting environment entries is
> definitely not about editing web.xml.
[Message sent by forum member 'amyroh' (amyroh)]

http://forums.java.net/jive/thread.jspa?messageID=218586