users@glassfish.java.net

Cluster on a single node not possible ?

From: <glassfish_at_javadesktop.org>
Date: Sun, 16 Dec 2007 08:33:15 PST

Hello,

I tried something that could appear as a non-sense at first approach :
* starting a glassfish cluster on a single node
The reason is just that for one environment (in the DMZ) we have only one host. It would have be nice to be able to keep all the install scripts for cluster working also on a single node.

The installation of cluster and node-agent on 2 distinct directories work fine.
The DAS node administration port and the node-agent administration port are different. (of course there is a conflict of Bind address otherwise).
The creation of cluster work, the declaration of one instance work.
But when comes the starting of the instance (cluster), i get this in the node-agent server.log file :

-------------------------------------
[#|2007-12-16T17:03:28.459+0100|INFO|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=12;_ThreadName=RMI TCP Connection(21)-192.168.1.3;cluster-orange-instanceA;|NAGT0018:The nodeagent is starting the server instance cluster-orange-instanceA|#]

[#|2007-12-16T17:03:28.483+0100|SEVERE|sun-appserver9.1|javax.ee.enterprise.system.nodeagent|_ThreadID=12;_ThreadName=RMI TCP Connection(21)-192.168.1.3;cluster-orange-instanceA;FAILED!;18;|NAGT0039:Synchonization for cluster-orange-instanceA - FAILED! and took 18 milliseconds|#]

[#|2007-12-16T17:03:28.527+0100|SEVERE|sun-appserver9.1|javax.enterprise.tools.launcher|_ThreadID=12;_ThreadName=RMI TCP Connection(21)-192.168.1.3;|LAUNCHER003:The Launcher encountered a problem with the configuration data from either domain.xml or processLauncher.xml. The launcher could not continue processing the request.
com.sun.enterprise.config.ConfigException: Error refreshing ConfigContext:/product/mmserver2/glassfish58g/nodeagents/node-rocket/cluster-orange-instanceA/config/domain.xml
cause: /product/mmserver2/glassfish58g/nodeagents/node-rocket/cluster-orange-instanceA/config/domain.xml (No such file or directory)
-------------------------------------------

Is it really impossible due to the protocol used (same port on every nodes or something like that) ?
Any idea ?
Best regards,
Olivier
[Message sent by forum member 'omerlin' (omerlin)]

http://forums.java.net/jive/thread.jspa?messageID=250290