users@glassfish.java.net

Re: using Autodeploy in a cluster

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Mon, 16 Jan 2012 07:32:58 -0600

Auto deploy is not supported for clusters. It is a development feature that is available on the DAS only.

Tom



On Jan 16, 2012, at 2:37 AM, VTR Ravi Kumar <vtrravikumar_at_gmail.com> 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
>