Two Laptop Bag*
The moose likes Tomcat and the fly likes Tomcat with Oracle 11g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat with Oracle 11g" Watch "Tomcat with Oracle 11g" New topic

Tomcat with Oracle 11g

Jake Hammer

Joined: Jul 30, 2009
Posts: 24

I'm upgrading a legacy application to use an Oracle 11g database (moving from 9i) and I seem to be having some troubles connecting to the db. According to Oracle's documentation I need the 'ojdbc6.jar' file as described here: driver

So I downloaded that file and placed it into the $CATALINA_HOME/lib directory. I reloaded the app and now when I try to access it I get the following:

Does anyone have any suggestions or experience with this? Please keep in mind that I am relatively new to Tomcat and java applications.

BTW...I'm using tomcat 6.0.20 and JVM 1.6.0_10 with Oracle

Thanks in advance!
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Check that your JAR file is not corrupted. Unpack it and check that oracle.jdbc.pool.OracleDataSource.class is there.

[My Blog]
All roads lead to JavaRanch
Jake Hammer

Joined: Jul 30, 2009
Posts: 24
Thanks for the reply...I verified that the file size is the same as what is published on Oracle's website. Also I did find the 'oracle.jdbc.pool.OracleDataSource' class when I ran: .

Any other suggestions?

Jake Hammer

Joined: Jul 30, 2009
Posts: 24
Ok, I got passed that problem...turns out I was missing mail.jar. I'm not sure why that didn't appear before.

Anyway, now I've gotten to a login page that try's to get credentials from the browser. The original version of this app uses kerberos authentication via pubcookie. Is anyone familiar with this at all?

Thanks in advance!

I agree. Here's the link:
subject: Tomcat with Oracle 11g
Similar Threads
Need Help on Installing Sourceforge Project - java.lang.NoClassDefFoundError
Field display problem
how to solve the error
need help with design of a Login page in JSP
SwitchAction in struts?????