Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

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

Andreas Schildbach

2004-02-13

Replies:

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@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.