Hi,
Thanks for your reply. I noticed my configuration in the Tomcat
installation directory did have a capital C in context. However, the files
are identical now, but I'm still not getting a JNDI connection.
[code]
<?xml version='1.0' encoding='utf-8'?>
<!--
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html Even
though this works inside of tomcat/conf/context.xml and the
documentation says it should work here, it doesn't
-->
<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>
[/code]
Thanks for your suggestion, please let me know what else to try.
I am running Tomcat 6.0.18 on Linux.
Thanks,
Walter
Caldarale, Charles R wrote:
>
>> From: walterw [mailto:[EMAIL PROTECTED]
>> Subject: JNDI configuration in webapp/META-INF/context.xml
>>
>> Here is the configuration I am using:
>> <context reloadable="true">
>
> It's <Context>, not <context> - case matters.
>
>> </context>
>
> Ditto.
>
> - 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: [email protected]
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/JNDI-configuration-in-webapp-META-INF-context.xml-tp19474901p19484751.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]