Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Timothy Collett
On Jul 14, 2006, at 11:26 AM, Peter Crowther wrote: From: Timothy Collett [mailto:[EMAIL PROTECTED] Actually, one of the things I'm doing is making a subclass of Context Good luck - I wanted to extend StandardContext for my own nefarious purposes and found it was almost impossible. You couldn

RE: Frustrated by NoClassDefFound errors

2006-07-14 Thread Peter Crowther
> From: Timothy Collett [mailto:[EMAIL PROTECTED] > Actually, one of the things I'm doing is making a subclass of > Context Good luck - I wanted to extend StandardContext for my own nefarious purposes and found it was almost impossible. You couldn't copy it as various parts of the system had t

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Timothy Collett
On Jul 14, 2006, at 11:03 AM, Boris Unckel wrote: Great! For your experiments: Use shared/lib and not common/lib, except if you really want to change something in the container... Actually, one of the things I'm doing is making a subclass of Context, which handles some startup and shutdown s

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Boris Unckel
Hi, However, even placing AspectJ in the webapp's WEB-INF/lib directory gives me the same error. Did you put everything or just AspectJ in webapp's WEB-INF/lib directory? Please have a try with everything. By "everything" do you mean the JDBC driver as well? OK, I'll go try that... No, ev

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Timothy Collett
On Jul 14, 2006, at 9:15 AM, Boris Unckel wrote: The vendor given JDBC-driver requires AspectJ? Which DataBase, which driver? (this is just for my personal interest). It's the standard MySQL driver. If there's a way to get it to work without AspectJ, I'm all ears...I'm still pretty new at t

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Boris Unckel
Hello, Timothy Collett wrote: On Jul 14, 2006, at 4:45 AM, Boris Unckel wrote: The usage of common/lib or common/shared is generally not a good idea if you are not forced to do it (i.E. a JDBC-Driver). Does AspectJ have the requirement to be in common/lib or shared/lib? If not, try to put every

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Timothy Collett
On Jul 14, 2006, at 4:45 AM, Boris Unckel wrote: The usage of common/lib or common/shared is generally not a good idea if you are not forced to do it (i.E. a JDBC-Driver). Does AspectJ have the requirement to be in common/lib or shared/lib? If not, try to put everything in your webapps/WEB-INF/

Re: Frustrated by NoClassDefFound errors

2006-07-14 Thread Boris Unckel
Hello Timothy, Timothy Collett wrote: Greetings. I've been using Tomcat for some time now, but recently I started getting a series of intermittent NoClassDefFound errors. They were first occurring with the Commons Configuration package (specifically, org.apache.commons.configuration.Propert