An error occurred while retrieving the list of VSE servers when using activemq-all-5.15.2.jar.

Document ID : KB000074980
Last Modified Date : 28/03/2018
Show Technical Document Details
Issue:
Getting an error when activemq-all-5.15.2.jar is placed in hotDeploy or in lib/shared folder for creating an Active MQ VS.

Error while retrieving list of Projects. (500 No JSON Formated Retrofit Error <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 503 </title> </head> <body> <h2>HTTP ERROR: 503</h2> <p>Problem accessing /res-hub/v1/projects. Reason: <pre> Service Unavailable</pre></p> <hr /><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.3.z-SNAPSHOT</a><hr/> </body> </html> )
Environment:
DevTest 10.2
Cause:
activemq -all-5.15.2.jar is not the correct jar to use for creating Active MQ virtual service which caused the issue.
Resolution:
Adding the below jars in DevTest_Home/hotDeploy folder on VSE server and restarting VSE will resolve the issue.
. activemq-client-5.15.2.jar
. hawtbuf-1.11.jar

The documentation on the above is available at https://docops.ca.com/devtest-solutions/10-2/en/getting-started/ca-service-virtualization-tutorials/tutorial-2-jms-virtual-service-using-devtest-portal#Tutorial2:JMSVirtualServiceUsingDevTestPortal-Step3-CopyJARFiles.
Additional Information:
activemq jars are available in apache-activemq-5.15.2-bin.zip, which can be downloaded from http://activemq.apache.org/activemq-5152-release.html