cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinh...@apache.org>
Subject RE: Class reloading in flow
Date Mon, 29 Sep 2003 13:16:27 GMT

From: Sylvain Wallez

> 
> Reinhard Poetz wrote:
> 
> >From: Johann Romefort
> > 
> >  
> >
> >>Hi,
> >>
> >>I would like to know if there is some way to enable class reloading 
> >>for import called from the FlowScript, without restarting Tomcat?
> >>    
> >>
> >
> >I think this has nothing to do with FlowScript or not - you have to 
> >setup your servlet container in a way that it supports (e.g. for 
> >Tomcat: set the reloadable attribute to 'true').
> >
> 
> I sometimes had some weird problems with the reloadable flag, as it 
> doesn't clean Session attributes, which leads to ClassCastExceptions 
> when newly reloaded classes got them. At least that was the case with 
> the version I used when I decided to not use this feature ;-)

Yep, I sometimes have some very strange results too ... and sometimes I
don't know whether Tomcat already uses the changed or new classes or
not.

Reinhard


Mime
View raw message