users@glassfish.java.net

Problem in setup 2 machine cluster

From: digit oktavianto <digit.oktavianto_at_gmail.com>
Date: Thu, 10 Jan 2008 13:47:12 +0700

I setup cluster with 2 machine. In Windows as DAS / host and Solaris. I hav
this logs in My SOlaris :

bash-3.00# ./asadmin start-node-agent --syncinstances=true agent-solaris
Please enter the admin user name>admin
Please enter the admin password>
Please enter the master password [Enter to accept the default]:>
Redirecting output to
/opt/glassfish/nodeagents/agent-solaris/agent/logs/server. log
Redirecting application output to
/opt/glassfish/nodeagents/agent-solaris/agent/ logs/server.log
com.sun.enterprise.config.ConfigException: Error refreshing
ConfigContext:/opt/g
lassfish/nodeagents/agent-solaris/instance-dua/config/domain.xml
cause:
/opt/glassfish/nodeagents/agent-solaris/instance-dua/config/domain.xml (N o
such file or directory)
        at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContex
tImpl.java:399)
        at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContex
tImpl.java:481)
        at
com.sun.enterprise.config.impl.ConfigContextImpl.getRootConfigBean (Co
nfigContextImpl.java:272)
        at
com.sun.enterprise.config.serverbeans.ServerBeansFactory.getDomainBea n(
ServerBeansFactory.java:89)
        at
com.sun.enterprise.config.serverbeans.ConfigAPIHelper.getDomainConfig Bean(
ConfigAPIHelper.java:75)
        at
com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildInternalCo mmand(
ASLauncher.java:755)
        at
com.sun.enterprise.admin.servermgmt.launch.ASLauncher.buildCommand (AS
Launcher.java:714)
        at com.sun.enterprise.admin.servermgmt.launch.ASLauncher.process(ASLaunc
her.java:418)
        at
com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstanceAllJava(
PEInstancesManager.java :283)
        at
com.sun.enterprise.admin.servermgmt.pe.PEInstancesManager.startInstan ce(
PEInstancesManager.java:160)
        at
com.sun.enterprise.ee.admin.servermgmt.EEInstancesManager.startInstan ce(
EEInstancesManager.java :228)
        at
com.sun.enterprise.ee.nodeagent.ProcessInstanceInternal.startInstance (
ProcessInstanceInternal.java:82)
        at com.sun.enterprise.ee.nodeagent.ProcessManager.startProcess(ProcessMa
nager.java:117)
        at com.sun.enterprise.ee.nodeagent.NodeAgent.startInstance(
NodeAgent.jav a:797)
        at com.sun.enterprise.ee.nodeagent.NodeAgent$StartServerTask.run(NodeAge
nt.java:1967)
        at java.lang.Thread.run (Thread.java:595)
Caused by: java.io.FileNotFoundException:
/opt/glassfish/nodeagents/agent-solari s/instance-dua/config/domain.xml (No
such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at com.sun.enterprise.config.impl.ConfigContextImpl.refresh(ConfigContex
tImpl.java:374)
        ... 15 more
Command start-node-agent executed successfully.

But, when i check in my browser in windows, node agent and instance from
solaris were not running. (Node agent=agent-solaris, instance=instane-TWO)
The same problem happen when i try with the 2nd machine in my windows. But
node agent in 2nd machine (windows) running, and the instance in 2nd machine
failed. (When i check in 1st machine (DAS / Host)). can you help me, please?

Thanks for the reply.