Details
-
Bug
-
Resolution: Done
-
Blocker
-
jboss-fuse-6.1, jboss-fuse-6.1 on OSE
-
%
-
- create A-MQ application from openshift called "amq"
- wait until it is fully deployed
- create another A-MQ openshift application called "amq2"
- 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