Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Tomcat giving JDK Precedence Over JARs in WAR

Caldarale, Charles R

2007-08-09

Replies:

> From: Gregor Schneider [mailto:rc46fi@(protected)]
> Subject: Re: Tomcat giving JDK Precedence Over JARs in WAR
>
> as to what i understood, david thinks he's using the ones coming with
> jdk 1.6, however, they are giving a nullpointer.

One possible cause is having the same libraries visible to multiple
classloaders in the hierarchy. This often results in symptoms like the
NPE. The OP needs to check that there are no duplicate classes amongst
those in WEB-INF/lib, Tomcat's lib directory, the endorsed directory (if
any), and the JRE/JDK in use.

- 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 start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.