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 <[EMAIL PROTECTED]>
Topicus B.V.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to