Hi!
Since my application running under both OracleAS and Tomcat 4.1.12 should obtain
connection pooling i tried to configure the application servers. Our application makes
use of OracleResultSet. I configured OracleAS by editing the data-sources.xml file
which works very well:
data-source
Hi!
I think paraemter driverClassName is missing. Try:
parameternamedriverClassName/namevalueoracle.jdbc.OracleDriver/value/parameter
hope this helps!
thomas
-Original Message-
From: Campano, Troy [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 4:36 PM
To: Balzarotti Paolo;
added it, bounced the server, and still the same dreadful error:
java.sql.SQLException: Cannot load JDBC driver class 'null'
thank you for your help though!
~ t r o y ~
-Original Message-
From: Thomas Achleitner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 10:44 AM
.jar (zip)?
thanks!
~ t r o y ~
-Original Message-
From: Thomas Achleitner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:15 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1, DBCP and Oracle
hi troy!
You can take oracle.jdbc.OracleDriver as well (the oracle forum told me
you very much!
~ t r o y ~
-Original Message-
From: Thomas Achleitner [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:24 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1, DBCP and Oracle
hi!
tomcat 4.1.12
classes12.jar
thomas
-Original Message-
From: Campano, Troy
-
From: Thomas Achleitner [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:38 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.1, DBCP and Oracle
Here are the relevant snapshots of the code (classes12.jar in common/lib):
server.xml:
Resource name=jdbc/OracleDS
a ClassCastException when looking up the DataSource from the jndi
context:
java.lang.ClassCastException: tyrex.jdbc.xa.EnabledDataSource
Do i have to specify the parameter factory in ResourceParams? If yes, which factory?
Or is there something else wrong?
Thanks in advance!
Thomas Achleitner