Solved

Where should I put the Oracle JDBC driver?

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Running Java Servlet inside Eclipse Luna 6 139
java.util.concurrent.locks in java 3 177
constructor overloading 2 73
java cigar challenge 58 204
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now