You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andreas Schildbach <an...@schildbach.de> on 2004/02/13 14:11:52 UTC

Re: org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver

Hello Dan,

I finally got it to work.

The problem is that for directories in "webapps" a Context is 
automatically created, even if it is already declared in server.xml. The 
automatically created Contexts do NOT contain the context specific 
configuration of server.xml. The outcome is that a) a context is created 
twice and b) for the second instance the resources are not found.

The addition of deployOnStartup="false" on all of my Host elements 
solved my problem.

Thanks for your help.

Regards,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org