users@glassfish.java.net

Re: using Autodeploy in a cluster

From: Rebecca Parks <rebecca.parks_at_oracle.com>
Date: Tue, 17 Jan 2012 10:48:22 -0800

The autodeploy feature is only available on the default server instance,
which is named "server." You cannot autodeploy to a cluster.

http://docs.oracle.com/cd/E18930_01/html/821-2417/gilfm.html#fvxze

Rebecca Parks

On 01/16/12 00:37, VTR Ravi Kumar wrote:
> Hi all,
>
> I have to perform autodeploy in a cluster and I tried the following
>
> copied the .war file in the domains/clusterdomain/autodeploy/ folder
> within a few seconds i see the war deployed message
>
> but when i try to access the jsp page it seems to be not available.
>
> When i logged in the admin console I can observe that the deployment
> has happened only in the target named "server" and not in the "mycluster"
>
> When I referred the Glassfish documentation (
> http://docs.oracle.com/cd/E18930_01/html/821-2417/gilfm.html ) it
> mentions that " For a cluster, the pre-selected deployment target is
> server." Is there some setting that will ensure that I can change
> this default.
>
> Since I have to do the above task using Hermes which only does a file
> push I cannot use
>
> --
> Thanks & Regards
> VTR Ravi Kumar,
> -----------------------------------------------------------------------------------------------------------------------
> http://www.vtrravikumar.com
>