Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3277

[OSE] [6.1.R2P4] [Regression] Another A-MQ in the same domain fails to deploy broker "Failed to bind to server socket: tcp://0.0.0.0:31313 due to: java.net.BindException: Permission denied)"

    XMLWordPrintable

Details

    • % %
      1. create A-MQ application from openshift called "amq"
      2. wait until it is fully deployed
      3. create another A-MQ openshift application called "amq2"
      4. notice the amq2 broker failed to deploy properly

    Description

      The 412-12 contains a regression.

      All A-MQ instances after the first will fail to deploy the broker with

      java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:31313 due to: java.net.BindException: Permission denied
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2070)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2532)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2448)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:693)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:659)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:595)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:449)[org.jboss.amq:mq-fabric:6.1.1.redhat-431]
        at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:378)[org.jboss.amq:mq-fabric:6.1.1.redhat-431]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
        at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
      Caused by: java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:31313 due to: java.net.BindException: Permission denied
        at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:315)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:141)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:107)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
        at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:2065)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
      ... 12 more
      Caused by: java.net.BindException: Permission denied
        at java.net.PlainSocketImpl.socketBind(Native Method)[:1.7.0_79]
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)[:1.7.0_79]
        at java.net.ServerSocket.bind(ServerSocket.java:376)[:1.7.0_79]
        at java.net.ServerSocket.(ServerSocket.java:237)[:1.7.0_79]
        at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231)[:1.7.0_79]
        at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:132)[org.apache.activemq:activemq-osgi:5.9.0.redhat-611433]
      ... 18 more
      

      Attachments

        Activity

          People

            janstey@redhat.com Jonathan Anstey
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: