tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: tomcat 4.1.31 problem
Date Fri, 04 Sep 2009 15:21:28 GMT
Christopher Schultz wrote:
> Jamez,
> 
> On 9/3/2009 11:15 PM, jamez smith wrote:
>> This is the exception when removing the <context> element from the
>> server.xml:
> 
>> [ERROR] [Cannot create JDBC driver of class '' for connect URL
>> 'null']org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver
>> of class '' for connect URL 'null', cause:
>> java.sql.SQLException: No suitable driver
>>     at java.sql.DriverManager.getDriver(DriverManager.java:243)
>>     at
>> org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:743)
>>     at
>> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:518)
> 
> Okay, now we're back to a simpler problem. I don't believe Tomcat 4.1.x
> uses META-INF/context.xml files, which is a shame, because you can't
> define context-specific <Resource> elements anywhere. It looks like
> you're going to have to have your <Context> in server.xml no matter what.

Huh?

You put myapp.xml in the webapps directory in Tomcat 4.1.x.

Mark




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


Mime
View raw message