Solved

Where should I put the Oracle JDBC driver?

Posted on 2006-11-13
2
316 Views
Last Modified: 2012-05-05
Hi everyone,

Nothing I'm getting from the Internet is helping me with my issue.  I have a JSP that is to connect and query an Oracle database.  I also have an Oracle thin driver (ojdbc14.jar).  In my JSP, I have

DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());

The JSP compiler says, "package oracle.jdbc.driver does not exist".  The JSP is located in

C:\tibco\administrator\5.3\tomcat\webapps\ROOT\custom\ajax\productdblookup\productdblookup.jsp

I'm using the Tomcat that comes with a program called TIBCO.  Given the path, where should I put the driver, so that I can start connecting to the database?  Also, must I restart Tomcat after placing the driver?

By the way, the driver works because I loaded it into my TIBCO program, and TIBCO connected like a charm.  Now if I can only get my JSP to connect too!

Thank you so much,


Jazon
0
Comment
Question by:piratepatrol
2 Comments
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 17936412
C:\tibco\administrator\5.3\tomcat\webapps\ROOT\WEB-INF\lib

and restart server
0
 
LVL 3

Author Comment

by:piratepatrol
ID: 17936459
You rule!  :)  Thank you so much!
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Javascript onclick event 4 107
password protect pdf 11 76
method inner class 6 82
report generation frameworks 1 66
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This problem is more common than not and I will show you some things to check to solve this problem.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question