Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-1575

[JDV6] Server fails to start when clustering is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • None
    • JDV
    • None

      When clustering is enable by providing KUBE_PING labels then the server fails to correctly start with exception in log

      ed.
      13:32:37,491 INFO  [org.jgroups.protocols.openshift.KUBE_PING] (ServerService Thread Pool -- 58) Starting JBossServer on port 8888 for channel address: datavirt-4-mtq9c/hornetq-channel
      13:32:37,492 INFO  [org.jgroups.protocols.openshift.KUBE_PING] (MSC service thread 1-4) Starting JBossServer on port 8888 for channel address: datavirt-4-mtq9c/$TEIID_ED$
      13:32:37,504 INFO  [org.teiid.RUNTIME] (ServerService Thread Pool -- 56) TEIID50006 Teiid translator "access" added.
      13:32:37,528 ERROR [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ224000: Failure in initialisation: java.net.BindException: Address already in use
      	at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_121]
      	at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_121]
      	at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_121]
      	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.8.0_121]
      	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.8.0_121]
      	at org.jboss.sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:144)
      	at org.jboss.sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:54)
      	at org.jboss.sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:38)
      	at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:147)
      	at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:124)
      	at org.openshift.ping.common.server.JBossServer.start(JBossServer.java:46)
      	at org.openshift.ping.common.OpenshiftPing.start(OpenshiftPing.java:161)
      	at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:962)
      	at org.jgroups.JChannel.startStack(JChannel.java:827)
      	at org.jgroups.JChannel._preConnect(JChannel.java:525)
      	at org.jgroups.JChannel.connect(JChannel.java:277)
      	at org.jgroups.JChannel.connect(JChannel.java:268)
      	at org.hornetq.api.core.JGroupsBroadcastGroupConfiguration$JGroupsBroadcastEndpoint$JChannelWrapper.connect(JGroupsBroadcastGroupConfiguration.java:333)
      	at org.hornetq.api.core.JGroupsBroadcastGroupConfiguration$JGroupsBroadcastEndpoint.internalOpen(JGroupsBroadcastGroupConfiguration.java:220)
      	at org.hornetq.api.core.JGroupsBroadcastGroupConfiguration$JGroupsBroadcastEndpoint.openBroadcaster(JGroupsBroadcastGroupConfiguration.java:187)
      	at org.hornetq.core.server.cluster.impl.BroadcastGroupImpl.start(BroadcastGroupImpl.java:108)
      	at org.hornetq.core.server.cluster.ClusterManager.start(ClusterManager.java:268)
      	at org.hornetq.core.server.impl.HornetQServerImpl.initialisePart2(HornetQServerImpl.java:1726)
      	at org.hornetq.core.server.impl.HornetQServerImpl.access$1600(HornetQServerImpl.java:183)
      	at org.hornetq.core.server.impl.HornetQServerImpl$SharedStoreLiveActivation.run(HornetQServerImpl.java:2382)
      	at org.hornetq.core.server.impl.HornetQServerImpl.internalStart(HornetQServerImpl.java:496)
      	at org.hornetq.core.server.impl.HornetQServerImpl.start(HornetQServerImpl.java:435)
      	at org.hornetq.jms.server.impl.JMSServerManagerImpl.start(JMSServerManagerImpl.java:490)
      	at org.jboss.as.messaging.jms.JMSService.doStart(JMSService.java:174)
      	at org.jboss.as.messaging.jms.JMSService.access$000(JMSService.java:63)
      	at org.jboss.as.messaging.jms.JMSService$1.run(JMSService.java:99)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      
      13:32:37,534 INFO  [org.hornetq.core.server] (ServerService Thread Pool -- 58) HQ221001: HornetQ Server version 2.3.25.SP17 (2.3.25.SP17, 123) [7d383832-1f84-11e7-a521-d7cc93e34b03] 
      ...
      13:32:37,567 INFO  [org.jgroups.protocols.openshift.KUBE_PING] (MSC service thread 1-1) Starting JBossServer on port 8888 for channel address: datavirt-4-mtq9c/$TEIID_BM$
      13:32:37,568 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.teiid.tuple_buffer: org.jboss.msc.service.StartException in service jboss.teiid.tuple_buffer: java.net.BindException: Address already in use
      	at org.teiid.jboss.TupleBufferCacheService.start(TupleBufferCacheService.java:46)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2064) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1987) [jboss-msc-1.1.7.SP1-redhat-1.jar:1.1.7.SP1-redhat-1]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
      Caused by: java.net.BindException: Address already in use
      	at sun.nio.ch.Net.bind0(Native Method) [rt.jar:1.8.0_121]
      	at sun.nio.ch.Net.bind(Net.java:433) [rt.jar:1.8.0_121]
      	at sun.nio.ch.Net.bind(Net.java:425) [rt.jar:1.8.0_121]
      	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) [rt.jar:1.8.0_121]
      	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) [rt.jar:1.8.0_121]
      	at org.jboss.sun.net.httpserver.ServerImpl.<init>(ServerImpl.java:144)
      	at org.jboss.sun.net.httpserver.HttpServerImpl.<init>(HttpServerImpl.java:54)
      	at org.jboss.sun.net.httpserver.DefaultHttpServerProvider.createHttpServer(DefaultHttpServerProvider.java:38)
      	at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:147)
      	at org.jboss.com.sun.net.httpserver.HttpServer.create(HttpServer.java:124)
      	at org.openshift.ping.common.server.JBossServer.start(JBossServer.java:46)
      	at org.openshift.ping.common.OpenshiftPing.start(OpenshiftPing.java:161)
      	at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:962)
      	at org.jgroups.JChannel.startStack(JChannel.java:827)
      	at org.jgroups.JChannel._preConnect(JChannel.java:525)
      	at org.jgroups.JChannel.connect(JChannel.java:277)
      	at org.jgroups.JChannel.connect(JChannel.java:268)
      	at org.teiid.replication.jgroups.JGroupsObjectReplicator.replicate(JGroupsObjectReplicator.java:564)
      	at org.teiid.jboss.TupleBufferCacheService.start(TupleBufferCacheService.java:44)
      	... 5 more
      
      13:32:37,569 INFO  [stdout] (MSC service thread 1-4) 
      13:32:37,569 INFO  [stdout] (MSC service thread 1-4) -------------------------------------------------------------------
      

              Unassigned Unassigned
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: