> From: Marshall, Marc [mailto:marc.marsh...@sug.com] 
> Subject: RE: Question

> I am defining each of the Environment Variables in an <Environment> 
> Tag inside of the context.xml like:
> <Context>
> ...
>  <Environment name="email.abc.signup.subject" value="Sign Up for the ABC Plan"
>               type="java.lang.String" override="false" /> 
> ...
> </Context>

If I've interpreted the spec correctly, you should be looking for 
java:comp/env/email.abs.signup.subject; AFAICT, there's no 
"EnvironmentVariables" level in the directory tree defined in the spec.

Also, where is your context.xml file?  Note that Tomcat copies the <Context> 
element to conf/Catalina/[host]/[appName].xml, which from that point on 
overrides the one in the webapp's META-INF/context.xml file.  So if you modify 
the latter, it will be ignored until you redeploy the webapp or delete the copy.

 - Chuck

P.S.  In the future, use a subject line a bit more meaningful that "Question".


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