admin@glassfish.java.net

Re: create-local-instance and create-instance

From: Anissa Lam <anissa.lam_at_oracle.com>
Date: Sun, 11 Jul 2010 12:46:49 -0700

On 7/11/10 12:44 PM, Anissa Lam wrote:
> Hi,
>
> What is the difference between these 2 commands:
> create-local-instance and create-instance
>
> %aadmin create-local-instance --node localhost M1
> results in :
> <server node="localhost" node-agent-ref="macau2.local" name="M1" >
>
> %asadmin create-instance --node localhost M2
> results in
> <server node="localhost" node-agent-ref="localhost" >
oops, my copy&paste error. should be
server node="localhost" node-agent-ref="localhost" name="M2" >

Anissa.
>
> I am able to start both instances ok.
> There seems a bug with list-insances if i specify the node name as
> the target, it doesn't return the instances that reference this node.
>
> %asadmin list-instances localhost
> remote failure: Unable to find a valid target with name localhost
>
> Command list-instances failed.
>
> thanks
> Anissa.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>