users@glassfish.java.net

Re: Dynamic reloading

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 28 Feb 2007 08:20:00 -0800

Hi,

glassfish_at_javadesktop.org wrote:
> Everyone- I apologize if this has already been answered.
> New user to glassfish v2, trying to get my pages to refresh minor changes without a complete restart of the server. I found a post https://glassfish.dev.java.net/javaee5/docs/ADG/beact.html#beadz
> which mentioned putting a .reload file in the C:\glassfish\domains\domain1\applications\j2ee-modules\appname folder
>
> Here's what I am doing
> - deploy the application in Eclipse
> - create .reload file in above location
> - re-publish to server.
>
> When I do all this, my webapp gets uninstalled from the j2ee-modules folder. What is the right way to setup my application for dynamic reloading ?
>

This is the expected behavior. When reloading, it means undeploying and
"re" deploying. We aren't supporting full dynamic reloading (this is
coming :-)) , but there is a faster way that using the .reload explained
in [1][2].

Hope that help.

-- Jeanfrancois

[1]
http://weblogs.java.net/blog/jfarcand/archive/2006/01/fast_web_applic_1.html
[2]
http://weblogs.java.net/blog/edburns/archive/2006/12/near_zero_redep.html


> Thanks
> Franco
> [Message sent by forum member 'franco_accounts' (franco_accounts)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205534
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>