Will this improved classloading include hot deployment of new libraries?

My custom mailets instantiate some classes whose names are extracted
from a configuration file. The configuration may change at runtime and
the mailets detect it. If the classnames are updated, the mailets try to
instantiate the new classes. If these were not included in james.sar
when James was started, I get a ClassNotFoundException and I need to
reboot James. I could avoid this if the James classloader refreshed the
mailet classpath dynamically by inspecting a lib directory somewhere.

I guess I am not the only one facing this limitation...

Regards,


Diego

-----Message d'origine-----
De : Steve Short [mailto:[EMAIL PROTECTED]] 
Envoye : vendredi 21 fevrier 2003 02:42
A : James Users List; [EMAIL PROTECTED]
Objet : RE: gets stuck in foreign class methods while in the custom
mailet

> It would have been nice if I could have just dropped my jar 
> into the SAR-INF/lib rather than have to deal with the 
> sar...I don't think we can expect a mail administrator to 
> have to deal with this...
> 
> Is this a "limitation" of Phoenix?

Yes this is a Phoenix limitation - improved classloading will be part of
James V3.

Steve

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to