Sorry,  for Tomcat 3.x you're stuck restarting Tomcat after updating beans
or servlets.  Take a look at this post from Craig which may shed more light
on the subject:

http://marc.theaimsgroup.com/?l=tomcat-user&m=97562988801936&w=2

I don't know if this is something Costin has any ideas about for the Tomcat
3.x tree.

-Dave

-----Original Message-----
From: Allen Akers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 19, 2000 7:45 AM
To: [EMAIL PROTECTED]
Subject: Class reloading problems


I saw a message on here a while back about problems with class reloading for
accessory classes within a context, but never saw a resolution for the
problem.  I am having this problem currently when trying to save an object
to the servlet context for use by multiple servlets.  When the class is
changed and recompiled, I get ClassCastExceptions on every subsequent
attempt to retrieve it due to the use of a new Classloader and Tomcat has to
be restarted to resolve this problem.  I was hoping to find someone else who
had resolved this problem before I started going about researching it any
further.  Thanks.

               Allen Akers
               Programmer Analyst
               Strategic Web and Voice Development
               ________________________________
               [EMAIL PROTECTED]

Reply via email to