Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Tomcat 5 and oracle

Jonathan Drnek

2003-12-10

Replies:

Classes12.zip didn't work either, even after I renamed it to
classes12.jar

Actually,

DataSource ds = (DataSource)envContext.lookup("jdbc/ordt");
Connection conn = ds.getConnection();

Still didn't work and

DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn =
DriverManager.getConnection("jdbc:oracle:thin:@(protected)
ine","junk");

still did work.


I am going to try and download a copy of the 1.2 jdk since that is what
classes12 said it needed and try that.

Any other suggestions?

Jon
-----Original Message-----
From: Koes, Derrick [mailto:Derrick.Koes@(protected)]
Sent: Wednesday, December 10, 2003 12:45 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 5 and oracle


I'm not 100% certain, but does Oracle even offer an 8.1.7/JDK 1.4
ojdbc14.jar file? I think it is only offered for 9.2. You are stuck
with
classes12.zip. I would try that. The common/lib directory is the
correct
place.

http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/jdbc817.html




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.