File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Driver not found issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Driver not found issue" Watch "Driver not found issue" New topic

Driver not found issue

Joseph Smithern
Ranch Hand

Joined: Feb 11, 2006
Posts: 89
I need to create a site that will only have database updates around 1 or 2 times a day.
My Oracle driver is loaded in the Tomcat lib folder and I have connected to it before in other projects but cant connect to it using the below attempt.

For my connection I keep getting StackTrace error saying: jdbcDriver not found


DbManager class:

Db update class:

Please advise.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

That's odd, because the only place that string occurs in the code you posted is here:

And the getInitParameter() method of ServletConfig won't throw any exceptions, it just returns null if there's no such parameter configured. Also, usually there's a lot more to a stack trace than that. It would help if you posted the rest of it. And if you could scan your code for the string "jdbcDriver" to see what else might be printing that string which you didn't post here.
I agree. Here's the link:
subject: Driver not found issue
jQuery in Action, 3rd edition