users@glassfish.java.net

Re: How can I create a .war file from the deployed content on the disk?

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Wed, 07 Aug 2013 11:02:18 -0400

I see. In that case, if you no longer have access to the original
application, you could jar up the contents of the application repository
to re-create the original application and then use that to deploy to a
different domain.

On 8/7/2013 10:42 AM, Zhang,Jun wrote:
>
> Thank you Hong for your quick reply.
>
> The destination node belongs to different domain. How do I benefit
> from create-application-reference in that situation?
>
> Jun
>
> *From:*Hong Zhang [mailto:hong.hz.zhang_at_oracle.com]
> *Sent:* Wednesday, August 07, 2013 9:34 AM
> *To:* users_at_glassfish.java.net
> *Subject:* Re: How can I create a .war file from the deployed content
> on the disk?
>
> If the application is already deployed to domain, you can just use
> "asadmin create-application-reference" command to deploy the
> application on an additional target (standalone instance etc).
>
> On 8/7/2013 10:19 AM, Zhang,Jun wrote:
>
> So that I can deploy the .war on another node's standalone
> instance. Is it right and enough to use the content at
> nodes/nodename/instancename?
>
> Thank you!
>
> Jun
>