[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Where should I put the Oracle JDBC driver?

Posted on 2006-11-13
2
Medium Priority
?
334 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

LinkedIn blogging is great for networking, building up an audience, and expanding your influence as well. However, if you want to achieve these results, you need to work really hard to make your post worth liking and sharing. Here are 4 tips that ca…
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
Loops Section Overview
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

830 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