dev@glassfish.java.net

can't start cluster after upgrade

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Tue, 14 Sep 2010 15:50:42 -0400

Howdy,

Now that we're past several other hurdles, I'm trying to start my cluster after an upgrade following these steps and the instances aren't starting:

http://wikis.sun.com/display/GlassFish/V3.1Clustering#V3.1Clustering-Upgrade

The specific error message (full output below) is "Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance1 does not exist or is not a directory"

Instead, I have these directories (localhost instead of na1):
/Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance1
/Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance2

 Any ideas what's going on?

Thanks,
Bobby

--- full output below, starting with exporting the sync bundle ---

hostname% ./asadmin export-sync-bundle --target cluster1 mybundle
Sync bundle: /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/domains/domain1/config/mybundle
Command export-sync-bundle executed successfully.

hostname% ./asadmin create-local-instance --cluster cluster1 instance1
Rendezvoused with DAS on localhost:4848.

Download root for bootstrapping: /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/localhost/instance1

Command create-local-instance executed successfully.

hostname% ./asadmin import-sync-bundle --file ../domains/domain1/config/mybundle instance2
Command import-sync-bundle executed successfully.


hostname% ./asadmin start-cluster cluster1
remote failure: instance1: Could not start instance instance1 on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com).

Command failed on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com): Command start-local-instance failed.

Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance1 does not exist or is not a directory

To complete this operation run the following command locally on host dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com from the GlassFish install location /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish:

 asadmin start-local-instance --node na1 instance1
instance2: Could not start instance instance2 on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com).

Command failed on node na1 (dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com): Command start-local-instance failed.

Server instance directory /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish/nodes/na1/instance2 does not exist or is not a directory

To complete this operation run the following command locally on host dhcp-burlington9-3rd-a-east-10-152-22-218.usdhcp.oraclecorp.com from the GlassFish install location /Users/bobby/work/ws/cluster_upgrade_noapp/glassfishv3/glassfish:

 asadmin start-local-instance --node na1 instance2

The command start-instance failed for: instance1 instance2

Command start-cluster failed.