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
Context
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
read-only?
What gives?
Best,
Don Park
Docuverse