tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: tomcat 4.1.31 problem
Date Fri, 04 Sep 2009 16:04:23 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,

On 9/4/2009 11:21 AM, Mark Thomas wrote:
> 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.

Sorry, it's been a while since I used Tomcat 4.1, but I was suggesting
that he disable autoDeply, in which case using an XML file in webapps
wouldn't help.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqhOocACgkQ9CaO5/Lv0PC8AQCbBtykno9Vzuij/0OCMXQVBI1R
nlYAmQGORk1qHSRk7bevSaNFmkjw1iOq
=wAnt
-----END PGP SIGNATURE-----

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


Mime
View raw message