Dynamic reloading of beans in servlet apps probably won't work until
JRun .next (i.e., after SP2 and probably SP3).  It does work in Resin, I
think, so if you're doing RAD and need the dynamic reload of beans you
could try Resin.

I would recommend deploying on JRun because JRun scales much better than
Resin.  But Resin is a little more friendly for dynamic reloads.  But
Tomcat or Orion is going to have the same problem JRun does in this
respect.  And I'm not even positive Resin doesn't -- I haven't used it
for a while.

The work-around in JRun is to touch a servlet in the web-app and make
the whole web-app classloader dump.  That should work unless the
JavaBeans are being loaded by the web-app's parent classloader.  

Scott Stirling
West Newton, MA

On 16 Jan 2001 14:38:16 -0700,  wrote:
> I realize that the beans should auto reload when in the /WEB-INF/classes directory, 
>but when the beans are in a package in that directory... 
> ie: /WEB-INF/classes/com/xxx/Classname.class
> they do not get reloaded.  Also if I make a new method or something in those classes 
>and try to use the new method, I will get a Non-Exception throwable error.
> 
> Anyone know the solution to this?  I'm alwasy rebooting the server and it's causing 
>a lot of problems.  
> 
> Thanks.
> 
> Travis Reeder
> Chief Software Architect
> www.ThinkVirtual.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to