Hello! Thanks for your answer. I have no ResourceLink in my configuration. I understand that I should put it a <Context>-tag but not where.
How does this affect the configuration I already have done? Is the use of resource-ref and Resource correct? Thanks in advance Roland Carlsson Den 04-10-26 11.25, skrev "Shinobu Kawai" <[EMAIL PROTECTED]>: > > 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%2 > 0Links > > Best regards, > -- Shinobu Kawai > > -- > Shinobu Kawai <[EMAIL PROTECTED]> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
