> From: Martin Gainty [mailto:mgai...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to