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: JNDI configuration in webapp/META-INF/context.xml
Date Sun, 14 Sep 2008 22:04:55 GMT
> From: walterw [mailto:walterjwhite@hotmail.com]
> 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message