Solved

Where should I put the Oracle JDBC driver?

Posted on 2006-11-13
2
317 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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
using if condition without JSTL 2 112
excpetion with multiple catch 11 121
Use tracing facilities in your browser steps 2 122
print map entry 34 72
If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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