tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Braden <mbra...@utenzi.com>
Subject RE: Error starting of Tomcat-4.0-b1, when using oracle-jdbc drive r.
Date Fri, 16 Feb 2001 15:05:34 GMT
Dieter,

I've had the same problem.  I wasn't able to fix it, but was able to
work around the problem.  I added the Oracle classes to the catalina.sh
script in the classpath.  Add them to the end of the CP= line.

# ----- Set Up The System Classpath
-------------------------------------------

CP="$CATALINA_HOME/bin/bootstrap.jar:$CATALINA_HOME/bin/servlet.jar:$CATALIN
A_HOME/bin/naming.jar"

I haven't tried to see if they can be put in the WEB-INF/lib dir yet, that
is my next test.

Mike.
--
Mike Braden
mbraden@utenzi.com


-----Original Message-----
From: Johannsmeier, Dieter [mailto:Dieter.Johannsmeier@gedas.de]
Sent: Friday, February 16, 2001 9:54 AM
To: tomcat-user@jakarta.apache.org
Subject: Error starting of Tomcat-4.0-b1, when using oracle-jdbc driver.


Hi, 

we have problems, when we try to start Tomcat-4.0-b1 (Catalina) including
the 
oracle-jdbc driver (classes12.jar in TOMCAT_HOME/lib). We get the following
error message:

Using CLASSPATH: ..\bin\bootstrap.jar;c:\jdk1.3\lib\tools.jar
Exception in thread "main" java.lang.IllegalArgumentException:
addRepositoryInternal: java.lang.NullPointerException
        at
org.apache.catalina.loader.StandardClassLoader.addRepositoryInternal(Standar
dClassLoader.java:1073)
        at
org.apache.catalina.loader.StandardClassLoader.<init>(StandardClassLoader.ja
va:166)
        at
org.apache.catalina.startup.Bootstrap.createSharedLoader(Bootstrap.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:122)

( We tested several oracle drivers) 

The same driver works correctly with tomcat 3.2.1. 

Can anybody help us ? 

Best regards and thanks in advance.

Dieter Johannsmeier



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message