Hi Roland,

> I'm trying to use the JNDI DataSource to administer my database-connections.
> But it seems like the DataSource doesn't get the properties I set. I get the
> following error:
> 
> org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of
> class '' for connect URL 'null' (Full stacktrace below)
> 
> I have checked that the driver is there and I have re-read the configuration
> and documentation many times now but doesn't find anything wrong. What am I
> missing?

> ---- from GlobalNamingResources element in server.xml --------------------
<snip />

> --------- from web-app element in web.xml --------------------
<snip />

> ------ Full stacktrace of the exception -------------
<snip />

Have you set the <ResourceLink>?
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-resources-howto.html
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html
    
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html#Resource%20Links

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED]>


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

Reply via email to