dev@glassfish.java.net

start-cluster on Windows

From: vince kraemer <vince.kraemer_at_oracle.com>
Date: Wed, 6 Jul 2011 14:57:19 -0700 (PDT)

Hi all,

I downloaded 3.1.1 build 10, started it, created a cluster named C1 and
then created a local instance named LCI1 in that cluster.

Then I ran into this...

S:\Users\vbk\GlassFish_Server_3.1.1>bin\asadmin start-cluster C1
remote failure: LCI1: Could not start instance LCI1 on node
localhost-domain1 (localhost).

Command failed on node localhost-domain1 (localhost): CLI801 Instance is
already synchronized
Attempting to start LCI1.... Please look at the server log for more
details.....

To complete this operation run the following command locally on host
localhost from the GlassFish install location
S:\Users\vbk\GlassFish_Server_3.1.1
:

  asadmin start-local-instance --node localhost-domain1 --sync normal LCI1

The command start-instance failed for: LCI1
Command start-cluster failed.

S:\Users\vbk\GlassFish_Server_3.1.1>bin\asadmin start-local-instance
--node localhost-domain1 --sync normal LCI1
CLI801 Instance is already synchronized
Waiting for LCI1 to start .Error starting instance LCI1.
The server exited prematurely with exit code 4.
Before it died, it produced the following output:

Error: no `server' JVM at `S:\Program Files\Java\jre6\bin\server\jvm.dll'.

Command start-local-instance failed.

Is this covered in the release notes for 3.1 and/or 3.1.1?

Thanks,
vbk