-
1. Re: NodeId as a runtime parameter for HornetQ Multicast Cluster in JBOSS AS 7.1.1
jbertram Sep 28, 2012 10:21 AM (in response to smswamy)1 of 1 people found this helpfulHi, Can anyone clarify me how the node Id of a JBOSS instance is created. I am working with JBOSS AS 7.1.1 HornetQ Multicast Cluster (standalone mode)
The HornetQ node ID is a UUID generated when the "server.lock" file is first created in the HornetQ journal (or re-created if it is ever deleted). See org.hornetq.core.server.impl.FileLockNodeManager#start for all the details.
(1) Based on what parameters(in standalone.xml), the node id is created for a JBOSS instance in Multicast Cluster
The HornetQ node ID is not created based on any parameters in standalone.xml.
(2) Where does the JBOSS maintains the nodeid - in which file of the data directory or tmp directory
The server.lock file (which contains the node ID) is is <data_dir>/messagingjournal by default.
(3) Is there a way we can pass on our node id as a runtime parameter during jboss start time.
No.
I am facing an issue where in my mulicast cluster is able to detect servers and port numbers that are not active but were used before. By identifying these servers, it throws a loop in cluster message.
Can you elaborate on this?
-
2. Re: NodeId as a runtime parameter for HornetQ Multicast Cluster in JBOSS AS 7.1.1
smswamy Sep 30, 2012 10:56 AM (in response to jbertram)Hi Justin,
When clustering is getting connected message is coming up in the JBOSS AS 7.1.1 server, I could see the message appearing multiple times.
I could see three things in the message
serverUUID, nodeUUID and name.
serverUUID and nodeUUID are same if I am not wrong. "name" is constructed using the <cluster name in the standalone.xml>+.+<nodeUUID>
I see a lot of connected messages in each of the instance in the cluster. Each connected message has the same serverUUID and nodeUUID but different "name".
I am not sure why ?
I fear these messages are appearing because multicast cluster is able to detect some instances(same intances) that are not active but were active before.
I also see one more strange thing is the cluster is getting enabled with the same instance itself...that is cluster is enabling between abc.con and def.com ....Also abc.com with abc.com
Will you please clarify me why is this happening ?
If the same nodeid is published by different servers,,then I understand it is happening due to different servers publishing same node ids. Here we have the same instances publishing the same node ids but different "name" but I dont understand it why ?
26-09-2012 15:54:15,758 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-12 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@6e024d3a [name=sf.conf-cluster-it.284e23f5-06d0-11e2-9557-d3be4af2bac0, queue=QueueImpl[name=sf.conf-cluster-it.284e23f5-06d0-11e2-9557-d3be4af2bac0, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@591c5342 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@6e024d3a [name=sf.conf-cluster-it.284e23f5-06d0-11e2-9557-d3be4af2bac0, queue=QueueImpl[name=sf.conf-cluster-it.284e23f5-06d0-11e2-9557-d3be4af2bac0, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@591c5342 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,759 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-10 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@4b6218f9 [name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, queue=QueueImpl[name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@1555aa19 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@4b6218f9 [name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, queue=QueueImpl[name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@1555aa19 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,758 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-3 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@28d76d1e [name=sf.conf-cluster-it.1c6d99a8-066e-11e2-89a0-e393d93ac701, queue=QueueImpl[name=sf.conf-cluster-it.1c6d99a8-066e-11e2-89a0-e393d93ac701, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@573ce184 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@28d76d1e [name=sf.conf-cluster-it.1c6d99a8-066e-11e2-89a0-e393d93ac701, queue=QueueImpl[name=sf.conf-cluster-it.1c6d99a8-066e-11e2-89a0-e393d93ac701, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@573ce184 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,765 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-26 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@6a75d65c [name=sf.conf-cluster-it.5e6ddf1f-0790-11e2-92c1-71a6b2f239f6, queue=QueueImpl[name=sf.conf-cluster-it.5e6ddf1f-0790-11e2-92c1-71a6b2f239f6, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5e4c689e targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@6a75d65c [name=sf.conf-cluster-it.5e6ddf1f-0790-11e2-92c1-71a6b2f239f6, queue=QueueImpl[name=sf.conf-cluster-it.5e6ddf1f-0790-11e2-92c1-71a6b2f239f6, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5e4c689e targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,764 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-24 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@665292e6 [name=sf.conf-cluster-it.1409a2e8-07ef-11e2-ab1e-2bf6214a2cc6, queue=QueueImpl[name=sf.conf-cluster-it.1409a2e8-07ef-11e2-ab1e-2bf6214a2cc6, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@372a6e85 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@665292e6 [name=sf.conf-cluster-it.1409a2e8-07ef-11e2-ab1e-2bf6214a2cc6, queue=QueueImpl[name=sf.conf-cluster-it.1409a2e8-07ef-11e2-ab1e-2bf6214a2cc6, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@372a6e85 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,776 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-25 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@1664978b [name=sf.conf-cluster-it.d7e07b9c-0666-11e2-ae80-018782570f9e, queue=QueueImpl[name=sf.conf-cluster-it.d7e07b9c-0666-11e2-ae80-018782570f9e, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@26193229 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@1664978b [name=sf.conf-cluster-it.d7e07b9c-0666-11e2-ae80-018782570f9e, queue=QueueImpl[name=sf.conf-cluster-it.d7e07b9c-0666-11e2-ae80-018782570f9e, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@26193229 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,772 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-11 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@4e0fd2b1 [name=sf.conf-cluster-it.61807fbf-0669-11e2-90fa-19c8fcf2bb31, queue=QueueImpl[name=sf.conf-cluster-it.61807fbf-0669-11e2-90fa-19c8fcf2bb31, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@70d18a80 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@4e0fd2b1 [name=sf.conf-cluster-it.61807fbf-0669-11e2-90fa-19c8fcf2bb31, queue=QueueImpl[name=sf.conf-cluster-it.61807fbf-0669-11e2-90fa-19c8fcf2bb31, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@70d18a80 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,793 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-5 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@1395ddba [name=sf.conf-cluster-it.04393ba7-07de-11e2-8fe4-f91a50270f7f, queue=QueueImpl[name=sf.conf-cluster-it.04393ba7-07de-11e2-8fe4-f91a50270f7f, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@540fe861 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@1395ddba [name=sf.conf-cluster-it.04393ba7-07de-11e2-8fe4-f91a50270f7f, queue=QueueImpl[name=sf.conf-cluster-it.04393ba7-07de-11e2-8fe4-f91a50270f7f, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@540fe861 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,793 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-17 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@66780515 [name=sf.conf-cluster-it.31764f54-07dd-11e2-921a-01fbfceefe94, queue=QueueImpl[name=sf.conf-cluster-it.31764f54-07dd-11e2-921a-01fbfceefe94, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5195da41 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@66780515 [name=sf.conf-cluster-it.31764f54-07dd-11e2-921a-01fbfceefe94, queue=QueueImpl[name=sf.conf-cluster-it.31764f54-07dd-11e2-921a-01fbfceefe94, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5195da41 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 15:54:15,829 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-12 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@611c4041 [name=sf.conf-cluster-it.9f9c3d4b-066b-11e2-b431-a5aea43d4bbf, queue=QueueImpl[name=sf.conf-cluster-it.9f9c3d4b-066b-11e2-b431-a5aea43d4bbf, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5be9d36 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@611c4041 [name=sf.conf-cluster-it.9f9c3d4b-066b-11e2-b431-a5aea43d4bbf, queue=QueueImpl[name=sf.conf-cluster-it.9f9c3d4b-066b-11e2-b431-a5aea43d4bbf, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@5be9d36 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 16:00:44,936 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-13 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@5edfa0aa [name=sf.conf-cluster-it.53fc09fa-07f3-11e2-8aaf-6bc9815e2603, queue=QueueImpl[name=sf.conf-cluster-it.53fc09fa-07f3-11e2-8aaf-6bc9815e2603, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@2bad298f targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@5edfa0aa [name=sf.conf-cluster-it.53fc09fa-07f3-11e2-8aaf-6bc9815e2603, queue=QueueImpl[name=sf.conf-cluster-it.53fc09fa-07f3-11e2-8aaf-6bc9815e2603, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@2bad298f targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]] is connected
26-09-2012 16:00:44,939 INFO [org.hornetq.core.server.cluster.impl.BridgeImpl] (Thread-22 (HornetQ-server-HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c-481059370)) Bridge ClusterConnectionBridge@4b6218f9 [name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, queue=QueueImpl[name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@1555aa19 targetConnector=ServerLocatorImpl (identity=(Cluster-connection-bridge::ClusterConnectionBridge@4b6218f9 [name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, queue=QueueImpl[name=sf.conf-cluster-it.ccdd0d29-0790-11e2-b1d7-49f3bc13e710, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c]]@1555aa19 targetConnector=ServerLocatorImpl [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]]::ClusterConnectionImpl@609482911[nodeUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40208&host=abc.com, address=jms, server=HornetQServerImpl::serverUUID=6bf51518-07f2-11e2-a4ad-c9b0befa8e6c])) [initialConnectors=[org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=40258&host=def.com], discoveryGroupConfiguration=null]] is connected
-
3. Re: NodeId as a runtime parameter for HornetQ Multicast Cluster in JBOSS AS 7.1.1
smswamy Oct 3, 2012 6:38 AM (in response to jbertram)Hi Justin,
I also see 2 server lock files,,
hornetq-data-50.hq hornetq-data-51.hq hornetq-data-52.hq hornetq-data-53.hq server.1.lock server.lock inside standalone/data/messagingjournal/ directory.
More Hornetq journals are generated, if I am no worng this is due to our queues are in persistance mode but not sure why there are multiple server lock files..
Will you please clarify.
Thanks.
-
4. Re: NodeId as a runtime parameter for HornetQ Multicast Cluster in JBOSS AS 7.1.1
smswamy Oct 3, 2012 6:59 AM (in response to smswamy)It seems it is getting created due to 2 instances in the cluster. Am I correct ?
-
5. Re: NodeId as a runtime parameter for HornetQ Multicast Cluster in JBOSS AS 7.1.1
smswamy Oct 22, 2012 5:09 AM (in response to smswamy)Hi Justin, I identified the issue. Its a local environment issue. Although the servers are stopped and started properly, there are times when the server is still running in the background, although it is showing as stopped in the foreground. This is why we were getting duplicate Node Ids.
There was an issue with our local scripts that starts and stops the server. We fixed it and everything worked fine.
Thanks for you support !!!.