tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Occasional NoClassDefFoundError, but disappears after couple of restarts
Date Mon, 03 Aug 2009 09:29:10 GMT
M4N - Arjan Tijms wrote:
> I removed the obvious suspect, a duplicate postgresql driver that
> appeared in both WEB-INF/lib  and [tomcat install dir]/lib.
> Unfortunately this did not seem to help. Last night I needed to restart
> the production server for a configuration change and I needed 22(!)
> restarts for Tomcat to start up correctly.
> 
> It really seems that there's a race condition going on somehow. I mean,
> if it was a structural problem then Tomcat would simply never start up,
> wouldn't it?

A reasonable conclusion.

> The Jboss libraries are the Jboss client libraries and are needed to
> consume EJBs from a remote Jboss AS instance. Maybe there are some
> classes somewhere that conflict with those of Tomcat, but if that would
> be true it's still hard to understand why starting up fails in
> production but never on a local workstation.

Does the production box have more cores than the dev box? If there was a
race condition you would be more likely to see it with more cores.

> Anyone has any idea?

There was a sync issue in the webappclassloader fixed in 6.0.19.
Although the symptoms were different, it might be worth trying 6.0.20.

Mark



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


Mime
View raw message