tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Park" <>
Subject Tomcat 4 DataSource resource-env-ref problem
Date Mon, 01 Oct 2001 11:20:58 GMT
I got thru the DataSource casting problem and my app is running now, but I
found curious entry in the application log:

2001-10-01 04:03:01 StandardContext[/arcotadmin]: Bind naming operation
failed : javax.naming.NamingException: Name {0} is already bound in this

For some reason, <resource-env-ref> entries in web.xml is failing to bind
due to unknown conflict with <Resource> entries in server.xml.  I have
followed the Tomcat 4's JNDI/JDBC docs with appropriate tag name changes
(res- to resource-) to avoid DTD validation failures.  I suspect that this
problem is due to InitialContext being read-only for some reason.  Why would
the doc require me to add <resource-env-ref> in web.xml if InitialContext is

What gives?


Don Park

View raw message