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: Occasional NoClassDefFoundError, but disappears after couple of restarts
Date Fri, 24 Jul 2009 14:14:51 GMT
> From: M4N - Arjan Tijms [mailto:arjan.tijms@m4n.nl]
> Subject: Occasional NoClassDefFoundError, but disappears after couple
> of restarts
> 
> The problem I have is that occasionally after I restart Tomcat, the
> startup fails with NoClassDefFoundError or ClassNotFoundException for
> every servlet listener that's being added from web.xml.

This kind of error can be caused by having the same class(es) in multiple locations in a given
branch of the classloader tree, such as in both a webapp's WEB-INF/lib and in Tomcat's lib
directory (or on the system classpath).  Have you checked that?

 - 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