Cannot stop a DevTest MQ within time by using VSEManager command
search cancel

Cannot stop a DevTest MQ within time by using VSEManager command

book

Article ID: 69433

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder)

Issue/Introduction

Stopping an MQ based service in VSE in DevTest console, is taking more than a minute. When tried the same action using unix command time out error is displayed.

Command used: cannot stop a DevTest MQ 

 

<Devtest_HOME>/10.7/bin/VSEManager --registry tcp://<HOST_NAME>:2010/Registry --vse VSE --username=username --password=password --stop <Service_name>

ERROR: An error occurred processing specified arguments.

Use --help for help.

java.rmi.RemoteException: Timeout (60,000 ms, actual wait 60,000 ms) on server object tcp://<HOST_NAME>:2013/VSE on method stopService

        at com.itko.lisa.net.Transactor.transact(Transactor.java:109)

        at com.itko.lisa.net.ClientBase.transact(ClientBase.java:361)

        at com.itko.lisa.net.ClientBase.invokeMethod(ClientBase.java:271)

        at com.itko.lisa.net.VSEClient.stopService(VSEClient.java:151)

        at com.itko.lisa.coordinator.VSEManager.stopService(VSEManager.java:843)

        at com.itko.lisa.coordinator.VSEManager.processCommands(VSEManager.java:594)

 

        at com.itko.lisa.coordinator.VSEManager.main(VSEManager.java:174)

 

 

Environment

All supported Devtest versions

Cause

   When we are executing the stop script on MQ service, your MQ service is taking time to close the back-end connections and it is exceeding the response time of VSEManager (60000ms) .

    In the backend, your stop request is processed without any issues. So, you can ignore this message in VSEManager.

 

Resolution

 

   If you want to run stop MQ service requests using VSEManager, you can run it in back-end mode by using am-percent (&) command at end and trigger the script.

Ex:  <Devtest_HOME>/10.7/bin/VSEManager --registry tcp://<HOST_NAME>:2010/Registry --vse VSE --username=username --password=password --stop <Service_name> &