[ https://issues.apache.org/jira/browse/AMQ-5566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305436#comment-14305436 ]
Arthur Naseef commented on AMQ-5566: ------------------------------------ *Port 61616 Failure Exception* {noformat} java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.<init>(ServerSocket.java:237) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:231) at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:136) at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56) at org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40) at org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:2386) at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:318) at org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:308) at org.apache.activemq.ra.FailoverManagedClusterTest.createAndStartMaster(FailoverManagedClusterTest.java:96) at org.apache.activemq.ra.FailoverManagedClusterTest.setUp(FailoverManagedClusterTest.java:74) {noformat} > Karaf test fails when standard ports already in-use on the system > ----------------------------------------------------------------- > > Key: AMQ-5566 > URL: https://issues.apache.org/jira/browse/AMQ-5566 > Project: ActiveMQ > Issue Type: Bug > Components: karaf > Affects Versions: 5.11.0 > Reporter: Arthur Naseef > > Test {{org.apache.activemq.karaf.itest.ActiveMQAMQPBrokerFeatureTest}} fails > when either port 61616 or port 1099 is already in-use on the server. > Preferably this test would use dynamically allocated port numbers. > Freeing ports 61616 and 1099 allows the test to pass normally. -- This message was sent by Atlassian JIRA (v6.3.4#6332)