Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-02 Thread A. Rothman
To anyone who may stumble upon this thread looking for solutions - this bug has been investigated and fixed by Konstantin Kolinko (https://issues.apache.org/bugzilla/show_bug.cgi?id=48097). The fix should be available in Tomcat 6.0.21 and later. mailto:knst.koli...@gmail.com A. Rothman

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-11-01 Thread A. Rothman
I've opened https://issues.apache.org/bugzilla/show_bug.cgi?id=48097 with a sample jsp that recreates the error. Mark Thomas wrote: A. Rothman wrote: A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a

Re: RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread M4N - Arjan Tijms
Hi, Caldarale, Charles R wrote: 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)

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
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(!)

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread A. Rothman
A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a particular jsp page in my app, but only if it was the first jsp accessed following a restart (and remained in the error state until the next restart). If it was

Re: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-08-03 Thread Mark Thomas
A. Rothman wrote: A couple months ago I had a slightly different setting but with the same strange result - NoClassDefFoundErrors which occurred on a particular jsp page in my app, but only if it was the first jsp accessed following a restart (and remained in the error state until the next

Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, I'm running Tomcat 6.0.16 on a 32 bit Debian Etch using Java 6 update 12. 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. If I restart Tomcat

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread Caldarale, Charles R
From: M4N - Arjan Tijms [mailto:arjan.ti...@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

RE: Occasional NoClassDefFoundError, but disappears after couple of restarts

2009-07-24 Thread M4N - Arjan Tijms
Hi, 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? Well, that's indeed a good suggestion.