Ok, Chris -- good news and bad news for me, I suppose.

I made a sole reference to the driver source in a standalone JSP, which could 
hit it, so we know the driver is good and valid.

It's just that it's being refused in the DBCP setting within the context.xml 
file in the META-INF fldr, as well as whether I not I put the resource ref in 
the web.xml file of the webapp folder.

That tells me my Oracle jar file works fine, and driver. Just got to shore up 
the conn pool part now.

Thanks, Chris!
 

-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: Thursday, February 25, 2010 3:43 PM
To: Tomcat Users List
Subject: Re: DB connection error -Tomcat 6 config

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barry,

On 2/25/2010 4:26 PM, Propes, Barry L wrote:
> After reconfiguring, I seem to be getting this error too, now. For 
> which a cursory search on Google seems to reveal many cases of this 
> happening with various DB drivers, as well as different versions of 
> Tomcat, from most recent to the 5x series.
>
> But no real solution found yet within those posts/forums. Still looking 
> though.
> 
> javax.servlet.ServletException: 
> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
> class '' for connect URL 'null'

Ugh, that's the worst one IMO, because it doesn't offer any help for what the 
problem actually is.

When this happens to people, I usually recommend:

1. Quadruple-check that you have your JDBC driver only in one place (in 
Tomcat's /lib directory) 2. Remove all unnecessary configuration from your 
<Resource> element:
just (simple) URL, driver class, username and password, just to get things 
started.

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

iEYEARECAAYFAkuG7toACgkQ9CaO5/Lv0PD/YACgu9h3NO6F8HRwRj8F1k9CRYu/
s4oAnirBRqqMw0S3GYByn6GzHLiRwug5
=9Mzd
-----END PGP SIGNATURE-----

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


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

Reply via email to