> From: Ziggy O [mailto:[EMAIL PROTECTED]
> Subject: Re: javax.naming.NamingException: Cannot create
> resource instance
>
> One thing i have noticed is that if i take the
> /META-INF/Context.xml file and copy it into
> $CATALINA_HOME/conf/Catalina/localhost/testapp.xml
> it does work.

If the file is really named "Context.xml" it won't work; it must be 
"context.xml" (case matters).  Also, if you already have a 
conf/Catalina/localhost/testapp.xml file lying around from a previous 
deployment, that will override anything in the webapp's META-INF/context.xml 
file.  A proper undeployment of a webapp will delete its entry in the 
conf/Catalina/[host] directory.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to