Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat with Oracle 11g

 
Jake Hammer
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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 11.1.0.6

Thanks in advance!
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check that your JAR file is not corrupted. Unpack it and check that oracle.jdbc.pool.OracleDataSource.class is there.
 
Jake Hammer
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks!!!
 
Jake Hammer
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic