| Author |
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
Servlet:
DbManager class:
Db update class:
Please advise.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
|
|
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.
|
 |
 |
|
|
subject: Driver not found issue
|
|
|