users@glassfish.java.net

Re: Starting local standalone instances from admin console

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Thu, 05 Apr 2012 14:55:30 -0500

It looks like you have the master password set to a non-default value,
and you did not use the --save option.

With that configuration, it is indeed impossible to start an instance
(on any type of node) from the console. Also, the "asadmin
start-instance" command will not work either. You would have to use
asadmin start-local-instance, which has the ability to prompt for the
master password.

Tom

On 4/5/2012 2:36 PM, Laird Nelson wrote:
> Playing around with standalone instances.
>
> I created a new CONFIG instance on the local node (named thupa). Then
> I tried to start it.
>
> The error message in the admin console says:
>
> Could not start instance thupa on node localhost-jx (localhost).
> Command failed on node localhost-jx (localhost): CLI801 Instance is
> already synchronized Command start-local-instance failed. Picked up
> _JAVA_OPTIONS: -Dfile.encoding=UTF-8 The Master Password is required
> to start the domain. No console, no prompting possible. You should
> either create the domain with --savemasterpassword=true or provide a
> password file with the --passwordfile option. To complete this
> operation run the following command locally on host localhost from the
> GlassFish install location /usr/local/glassfish-3.1.2b23: bin/asadmin
> start-local-instance --node localhost-jx --sync normal thupa
>
> I understand basically what this is telling me. But does that mean
> that it is impossible to start a CONFIG instance on the local node
> from the admin console?
>
> Best,
> Laird
>
> --
> http://about.me/lairdnelson
>