You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Klaasjan Brand <kl...@topicus.nl> on 2003/02/19 10:13:45 UTC
JNDI in DefaultContext
Hi,
I've got a problem with JNDI configuration for a datasource.
My web application runs fine when I define a <Context> containing the
JNDI configuration. However, I'd like to make the datasource available
to all deployed webapps, so I don't have to edit server.xml to deploy a
new application.
I've tried creating a <DefaultContext> within the <Host> containing the
database configuration <Resource> and <ResourceParam> entries. According
to the Tomcat docs this should work for all applications under webapps.
It doesn't for me: the web app can't find the "jdbc" name.
My question: is additional configuration needed, or is this a bug in
Tomcat?
--
Klaasjan Brand <kl...@topicus.nl>
Topicus B.V.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org