> From: pat...@rufflar.com [mailto:pat...@rufflar.com] 
> Subject: RE: Environment parameter overriding

> <Context path="/trunk">
>   <Listener className="org.apache.catalina.startup.TldConfig"/>
>   <Listener className="org.apache.catalina.startup.TldConfig"/>
>   <Environment
>     name="myParameter"
>     type="java.lang.String"
>     value="test"/>
> </Context>

The above is missing override="false" in the <Environment> element, and has 
duplicated <Listener> elements, which can't be right.

> > (And if you've put the <Context> in server.xml as your first message  
> > implied, you've already made the first mistake.)

> The tomcat administration interface did this.

What "tomcat administration interface" are you referring to?  The manager app 
certainly doesn't write into server.xml, and there is no other "administration 
interface" in any supported version of Tomcat.

Your <Context> element should be located within the webapp at 
META-INF/context.xml, and the path attribute should be removed.  Make sure 
there's not another copy of the <Context> element in 
conf/Catalina/[host]/[appName].xml.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to