users@glassfish.java.net

glassfish cluster problem

From: <glassfish_at_javadesktop.org>
Date: Thu, 12 Mar 2009 00:03:48 PDT

Here is a simple procedure used to create glassfish (2.1) cluster on a single system:

1) java -jar ~/glassfish-installer-v2.1-b60e-sunos_x86.jar
2) cd glassfish; ant -f setup-cluster.xml
3) bin/asadmin start-domain
4) bin/asadmin create-node-agent --host host0 --port 4848 --savemasterpassword agent0
5) bin/asadmin create-cluster --user admin --host host0 --port 4848 cluster0
6) bin/asadmin create-instance --user admin --host host0 --port 4848 --nodeagent agent0 --cluster cluster0 clinstance0
7) bin/asadmin start-node-agent --user admin --syncinstances=true agent0

After last command is issued, it just freezes with the message in clinstance0 server.log:

MQJMSRA_LB1101: Looking for Broker Running at:localhost:37676

If You look in clinstance0/imq/ directory - it's empty - there is no mq broker files installed/copied during instance creation. The question is how then it is supposed to be brought up to listen on port 37676 ? If You modify cluster0 jms-service to point to REMOTE jms instance, then node-agents is starting up fine.

/mareks
[Message sent by forum member 'mareks' (mareks)]

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