got it,

you could turn on debugging for DBCP and JNDI, by adding

org.apache.naming.level=FINE
org.apache.tomcat.dbcp.level=FINE

to the bottom of your TC_HOME/conf/logging.properties

that might give you a clue, somehow your entered JNDI names don't match with what Tomcat think it has bound the datasource too.

Filip


aku1234 wrote:
I'm sorry, I must have confused you.  After we dowloaded ojdbc14.jar from
Oracle we just
renamed it to ojdbc.jar. I believe this is for use with JDK 1.4 and above. I think the
classes12.jar is for JDK 1.2 and 1.3.  For the record we're using the latest
version of Java 5.

I opened up ojdbc14.jar to verified that oracle.jdbc.driver.OracleDriver was
there.  It was.

I also tried using the latest Oracle JDBC driver, but I got the same error
message.

Augustin


Filip Hanik - Dev Lists wrote:
yeah, but you are not using ojdbc, you are using oracle's driver

oracle.jdbc.driver.OracleDriver

for this, you need to have classes12.jar

Filip



aku1234 wrote:
I double checked everything.  There is an ojdbc.jar file in TC_HOME/lib
and nowhere else.
I'm not sure that it even knows what driver it's trying to load.
The top part of the stacktrace was:

Cannot create JDBC driver of class '' for connect URL 'null'

Augustin


aku1234 wrote:
Yes.  Anything else I should look at?
As Filip pointed out, without a driver you'll go nowhere.  This would
appear to be the immediate issue to deal with.

What driver jar did you put in the lib dir?

Is there another copy in your WEB-INF/lib? You must remove that one if
there is.

p


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to