tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: javax.naming.NamingException: Cannot create resource instance
Date Thu, 02 Oct 2008 13:45:18 GMT
> From: Ziggy O [mailto:dini25@gmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message