permaculture playing cards*
The moose likes Tomcat and the fly likes Oracle 9i thin driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Oracle 9i thin driver" Watch "Oracle 9i thin driver" New topic
Author

Oracle 9i thin driver

Raj Puri
Ranch Hand

Joined: Apr 24, 2003
Posts: 189
Has anyone used Oracle thin driver to connect. I copied oracle supplied Jar file in common/lib and changed server.xml file to create context. Tried using that context in JSP per example in help pages of Tomcat, I keep getting error invalid driver. I do notice now oracle driver is called jdbc14.jar, believed earlier version was classes12.jar, could that be a problem - though i tried my example with classes12.jar i keep getting same error. Is creating context an alternate way of doing the same thing that we do with import="java.sql", since if I include import statement and do not use context it works.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Oracle 9i thin driver