1 Reply Latest reply on Aug 26, 2013 5:47 AM by jaikiran pai

    Exception in HornetQ when starting server

    Arun Varadharajan Newbie

      I have declared a queue in the standard-jboss-full-ha.xml as below:

       

      <jms-queue name="OperationQueue">
        <entry name="queue/OperationQueue" />
        <entry name="java:jboss/exported/jms/queue/OperationQueue" />
      </jms-queue>
      

      When I started the server i'm getting exception on the console as below:

       

      01:30:40,687 DEBUG [org.hornetq.core.postoffice.impl.PostOfficeImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) ClusterCommunication::Sending notification for addBinding LocalQueueBinding [address=jms.queue.OperationQueue, queue=QueueImpl[name=jms.queue.OperationQueue, postOffice=PostOfficeImpl [server=HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008]]@10c1430, filter=null, name=jms.queue.OperationQueue, clusterName=jms.queue.OperationQueueefcc8485-0e05-11e3-b2fb-005056c00008] from server HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008
      01:30:40,687 DEBUG [org.hornetq.core.server.management.impl.ManagementServiceImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) ignoring message Notification[uid=4389ac42-0e08-11e3-ac60-005056c00008, type=BINDING_ADDED, properties=TypedProperties[{_HQ_Binding_ID=14, _HQ_Binding_Type=0, _HQ_Distance=0, _HQ_ClusterName=jms.queue.OperationQueueefcc8485-0e05-11e3-b2fb-005056c00008, _HQ_Address=jms.queue.OperationQueue, _HQ_RoutingName=jms.queue.OperationQueue}]] as the server is not initialized
      01:30:40,687 DEBUG [org.hornetq.core.server.management.impl.ManagementServiceImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) registered address org.hornetq:module=Core,type=Address,name="jms.queue.OperationQueue"
      01:30:40,687 DEBUG [org.hornetq.core.server.management.impl.ManagementServiceImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) registered queue org.hornetq:module=Core,type=Queue,address="jms.queue.OperationQueue",name="jms.queue.OperationQueue"
      01:30:40,812 WARN [org.hornetq.core.server.cluster.impl.BroadcastGroupImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.warn(HornetQLoggerFactory.java:316) local-bind-address specified for broadcast group but no local-bind-port specified so socket will NOT be bound to a local address/port
      01:30:40,812 DEBUG [org.hornetq.core.server.management.impl.ManagementServiceImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) ignoring message Notification[uid=efcc8485-0e05-11e3-b2fb-005056c00008, type=BROADCAST_GROUP_STARTED, properties=TypedProperties[{name=bg-group1}]] as the server is not initialized
      01:30:40,812 DEBUG [org.hornetq.core.server.cluster.impl.ClusterConnectionImpl] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) Activating cluster connection nodeID=efcc8485-0e05-11e3-b2fb-005056c00008 for server=HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008
      01:30:40,812 DEBUG [org.hornetq.core.client.impl.Topology] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:152) Topology@88c997[owner=ClusterConnectionImpl@8176643[nodeUUID=efcc8485-0e05-11e3-b2fb-005056c00008, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=localhost, address=jms, server=HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008]]::node efcc8485-0e05-11e3-b2fb-005056c00008=TopologyMember[connector=Pair[a=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=localhost, b=null]]
      01:30:40,812 DEBUG [org.hornetq.core.client.impl.Topology] (MSC service thread 1-4) org.jboss.as.messaging.HornetQLoggerFactory$HornetQLogDelegate.debug(HornetQLoggerFactory.java:156) Topology@88c997[owner=ClusterConnectionImpl@8176643[nodeUUID=efcc8485-0e05-11e3-b2fb-005056c00008, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=localhost, address=jms, server=HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008]]::Adding topology listener ClusterConnectionImpl@8176643[nodeUUID=efcc8485-0e05-11e3-b2fb-005056c00008, connector=org-hornetq-core-remoting-impl-netty-NettyConnectorFactory?port=5445&host=localhost, address=jms, server=HornetQServerImpl::serverUUID=efcc8485-0e05-11e3-b2fb-005056c00008]: java.lang.Exception: Trace
      at org.hornetq.core.client.impl.Topology.addClusterTopologyListener(Topology.java:84) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl.addClusterTopologyListener(ClusterConnectionImpl.java:521) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl.activate(ClusterConnectionImpl.java:703) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.cluster.impl.ClusterConnectionImpl.start(ClusterConnectionImpl.java:385) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.cluster.impl.ClusterManagerImpl.start(ClusterManagerImpl.java:205) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1493) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.impl.HornetQServerImpl.access$1200(HornetQServerImpl.java:138) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:1919) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:366) [hornetq-core-2.2.13.Final.jar:]
      at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:269) [hornetq-jms-2.2.13.Final.jar:]
      at org.jboss.as.messaging.jms.JMSService.start(JMSService.java:73) [jboss-as-messaging-7.1.1.Final.jar:7.1.1.Final]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
      at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
      

       

      Any help would be appreciatable.