users@glassfish.java.net

Re: Writing a JMS client for a Message Queue Broker Cluster ...

From: <forums_at_java.net>
Date: Wed, 19 Jun 2013 06:39:06 -0500 (CDT)

I have created a new node "localhost-with-ip" of type "CONFIG" that specifies
IP address 172.16.2.20 as "Node Host". Then I stopped the "localhost"-based
instance of the cluster and added a new one, based on the "localhost-with-ip"
node. I gave this instance the same properties (ports) like the old one had.
Then I got rid of the old instance. After some problems (I think they
disappeared after I removed my applications and JMS queues) I finally had the
two instances (my new one plus the remote 172.16.2.20) starting up. Things
looked promising in my opinion. From the logfiles: INSTANCE 1: JMS010:
ADDRESSLIST in setJmsServiceProvider:
mq://172.16.2.20:27676/,mq://172.16.2.21:27676/ GlassFish MQ JMS Resource
Adapter Started:EMBEDDED INSTANCE 2: JMS010: ADDRESSLIST in
setJmsServiceProvider: mq://172.16.2.21:27676/,mq://172.16.2.20:27676/
GlassFish MQ JMS Resource Adapter Started:EMBEDDED BUT... when I click on
"JMS Physical Destinations" for the cluster to recreate the queues I had to
delete I get this error: *An error has occurred Unable to list JMS
Destinations. Please ensure that the Message Queue Brokers are running.*
(This happens in the GlassFish admin console: click on the cluster, then
select tab "JMS Physical Destinations"). This does not make sense to me as
the "JMS Service Type" is set to "EMBEDDED" in the cluster configuration, and
the logs confirm this. Also, I do not see any warning or exception in the log
files. I am attaching all log files. They are not shortened and show a
cluster start. REMARK: The original instance (the one I replaced with a new
instance) had an instance property "rendezvousOccurred=true". I was not sure
what it exactly means and tried my new instance with and without that
property. But it did not help. I cannot create queues because the admin
console insists that JMS is not running.

--
[Message sent by forum member 'kappert']
View Post: http://forums.java.net/node/897020