tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: NullPointerException from DriverManager.getConnection() ->JdbcOdbcDriver.initialize()
Date Mon, 09 Feb 2009 05:34:20 GMT
> From: Martin Gainty [mailto:mgainty@hotmail.com]
> Subject: RE: NullPointerException from
> DriverManager.getConnection() ->JdbcOdbcDriver.initialize()
>
> that message does'nt make sense

Why not?  It's a NullPointerException, not a ClassNotFoundException.

> please verify rt.jar is on your CLASSPATH

That is utterly stupid.  NEVER, NEVER, NEVER put rt.jar in CLASSPATH, under any circumstances.
 Classes from rt.jar must be loaded only by the JVM's internal bootstrap classloader; classes
found via CLASSPATH are handled by the system classloader.  The JVM knows where rt.jar is,
although that location can be overridden by -Xbootclasspath when needed.  Regardless, you
don't need to set -Xbootclasspath or CLASSPATH when running Tomcat.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

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


Mime
View raw message