tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaas van der Ploeg" <>
Subject global naming resource not available in webapp
Date Fri, 20 Dec 2002 14:05:54 GMT

I have multiple webapps which must share the same dataresource (DBCP to 
Oracle DB). Currently I'm using this resource from the <DefaultContext> 
element, it works fine there.
But, I was wondering if I can make it 'globally' available in the 
<GlobalNamingResources> element. The docs say that it should be possible, 
but I'm not getting it to work, it seems (by debugging) that the factory is 
called, but it is missing the parameter values.
This is my resource definition (same as in <DefaultContext>) in 


           <Resource name="jdbc/oracledb" auth="Container"

          <ResourceParams name="jdbc/oracledb">


My questions:

1. Is this the preferred approach?
2. Why is it not working? I'm getting a SQLE: java.sql.SQLException: Cannot 
load JDBC driver class 'null'

Thanks for your help,


MSN 8: advanced junk mail protection and 3 months FREE*.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message