dev@glassfish.java.net

Re: Reloading a module without restarting the domain?

From: Sanjeeb Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 30 Jun 2010 10:01:20 +0530

Chris,

Bundles in modules/ dir are not watched for changes while the server is
running; bundles in modules/autostart/ are.

What makes you think even after issuing "update <bundle id>," the bundle
was not updated?

Thanks,
Sahoo

On Wednesday 30 June 2010 05:51 AM, Chris Kasso wrote:
> Is it possible?
>
> I drop a module into the modules directory, start up the domain
> and get the module to the Active state. I then drop in a new
> build of the module into the modules directory replacing the old copy.
> How do I get GF/Felix to reload the module without restarting the domain?
>
> I tried telnet'ing to the Felix remote shell console and used
> various commands (refresh<module id>, update<module id>,
> uninstall<module id>) but known appeared to cause the new version
> of the module to be loaded. It continued to use the old
> module (even though it had been replaced in modules directory).
>
> The only way I could get the replacement module loaded was
> to restart the domain.
>
> Chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>
>