We have a constraint in our project that some of the services/VPNs that are behind a very strict firewall can be accessed through few specific machines only.
So in order to test those, we installed DevTest on one of the machines and use CITRIX receiver to pull an instance of DevTest on our local machines. The project is kept on a shared drive (individual to each user) that can be accessed through CITRIX.
It works fine when only a single user is using the machine. However, when multiple people are working on CITRIX, sometimes it works fine but crashes when we try open some specific file the project. (Everything opens up smoothly until I select a test case).
Here's the workstation log : (it always throws this exception : class java.io.IOException Failed to bind to server socket)
2017-05-08 13:59:59,681Z (08:59) [ProcDlgThreadCallbk@2b02ce58] INFO com.itko.lisa.test.TestCase - Name: SIT_Security Setup Version: 5 created with LISA 9.5.1 (9.5.1.6)
2017-05-08 13:59:59,806Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO com.itko.lisa.net.ActiveMQFactory - Starting amq broker
2017-05-08 13:59:59,837Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO com.itko.lisa.net.ActiveMQFactory - Starting amq broker 'lisa0' we will listen on port 2008 and address 0.0.0.0
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] ERROR com.itko.lisa.net.ActiveMQFactory - Bad start
java.io.IOException: Failed to bind to server socket: tcp://0.0.0.0:2008/A009D6DA33F611E7AC25CAB120524153 due to: java.net.BindException: Address already in use: JVM_Bind
at com.itko.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
at com.itko.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:139)
at com.itko.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
at com.itko.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
at com.itko.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:1941)
at com.itko.activemq.broker.BrokerService.addConnector(BrokerService.java:253)
at com.itko.lisa.net.ActiveMQFactory.startBroker(ActiveMQFactory.java:438)
at com.itko.lisa.net.ActiveMQFactory.getBrokerServerQueueConnection(ActiveMQFactory.java:595)
at com.itko.lisa.net.ServerRequestHandler.startRemoteServer(ServerRequestHandler.java:272)
at com.itko.lisa.net.ServerRequestHandler.startRemoteServer(ServerRequestHandler.java:261)
at com.itko.lisa.net.ServerRequestHandler.registerTarget(ServerRequestHandler.java:108)
at com.itko.lisa.coordinator.LisaServerObjectImpl.register(LisaServerObjectImpl.java:105)
at com.itko.lisa.test.DataSetImpl.dataSetFactory(DataSetImpl.java:665)
at com.itko.lisa.test.DataSetImpl.loadDataSets(DataSetImpl.java:610)
at com.itko.lisa.test.TestCase.prepareToStage(TestCase.java:988)
at com.itko.lisa.editor.TestCaseInfo.initFromScratchTestCase(TestCaseInfo.java:415)
at com.itko.lisa.editor.TestCaseInfo.<init>(TestCaseInfo.java:273)
at com.itko.lisa.editor.TestCaseInfo.createTestCaseInfo(TestCaseInfo.java:351)
at com.itko.lisa.editor.TestCaseEditor$2.doCallback(TestCaseEditor.java:385)
at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:194)
at java.lang.Thread.run(Unknown Source)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.TwoStacksPlainSocketImpl.socketBind(Native Method)
at java.net.TwoStacksPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.TwoStacksPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown Source)
at com.itko.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)
... 19 more
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO System.out - WARNING: Failed to start a server listener at port 2,008
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] ERROR com.itko.lisa.net.ActiveMQFactory - Failed to start a server listener at port 2,008
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO System.out - WARNING: Reason: class java.io.IOException Failed to bind to server socket: tcp://0.0.0.0:2008/A009D6DA33F611E7AC25CAB120524153 due to: java.net.BindException: Address already in use: JVM_Bind
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] ERROR com.itko.lisa.net.ActiveMQFactory - Reason: class java.io.IOException Failed to bind to server socket: tcp://0.0.0.0:2008/A009D6DA33F611E7AC25CAB120524153 due to: java.net.BindException: Address already in use: JVM_Bind
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO System.out - WARNING: Almost certainly there is another server running on this machine with the same port number
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] ERROR com.itko.lisa.net.ActiveMQFactory - Almost certainly there is another server running on this machine with the same port number
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] INFO System.out - WARNING: Change the name by setting the appropriate lisa property (lisa.registryName, lisa.coordName,
2017-05-08 13:59:59,884Z (08:59) [ProcDlgThreadCallbk@68a292c3] ERROR com.itko.lisa.net.ActiveMQFactory - Change the name by setting the appropriate lisa property (lisa.registryName, lisa.coordName,