> From: walterw [mailto:[EMAIL PROTECTED]
> Subject: RE: JNDI configuration in webapp/META-INF/context.xml
>
> <Context>
>         <WatchedResource>WEB-INF/web.xml</WatchedResource>
>         <!--<WatchedResource>META-INF/context.xml</WatchedResource>-->
>         <Resource name="${jndi.URL}" auth="Container"
> type="javax.sql.DataSource"
>                 driverClassName="${jdbc.driver}" url="${jdbc.url}"
> username="${jdbc.username}"
>                 password="${jdbc.password}" maxActive="100"
> maxIdle="30" maxWait="10000"/>
> </Context>

Also, exactly where is the above <Context> element located?

If you have a <Context> element in conf/Catalina/[host]/[appName].xml that 
might have been created from a previous deployment, that will override the one 
in META-INF/context.xml.  Get rid of the [appName].xml one if it exists.

 - 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