admin@glassfish.java.net

Re: Cluster/Cluster Instance Deletion Issue

From: Joe Di Pol <joe.dipol_at_oracle.com>
Date: Thu, 28 Oct 2010 08:36:22 -0700

Jason Lee wrote:
> For what it's worth, I get this in the Console when creating a new node:
>
> Successfully created instance
> testInstancea1d4e413a950dc3f0ac98c43d10b8b7383 in the DAS configuration,
> but failed to create the instance files on node
> testNodea23317ff406bbfdc536b1f372f3b9290c9 (localhost). Failed to
> execute local command: asadmin is not executable! To complete this
> operation run the following command locally on host localhost from the
> GlassFish install location /InstallDir: asadmin --port 4848
> create-local-instance --nodedir /NodeDir --node
> testNodea23317ff406bbfdc536b1f37...
>
> But asadmin IS executable:
>
> -rwxr-xr-x 1 jasonlee staff 2262 Oct 27 14:58 ./bin/asadmin
> -rwxr-xr-x 1 jasonlee staff 2332 Oct 27 14:58 ./glassfish/bin/asadmin

Do a "list-nodes --long" and verify the host and installdir are
what you expect.

(And the message needs to be updated to give the path to asadmin is
  is trying to use).

>
> It does seem to create the node (though I'm not sure if it's created
> correctly), as the entry is made in domain.xml, but the call to the REST
> layer fails with that error because something seems to be returning a
> warning.
>
> Does this look familiar to anyone?