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> )
activemq -all-5.15.2.jar is not the correct jar to use for creating Active MQ virtual service which caused the issue.
This issue was also faced when the content of the hotdeploy folder or custom extensions were duplicated in the $DEVTEST_HOME/lib folder.
Adding the below jars in DevTest_Home/hotDeploy folder on VSE server and restarting VSE will resolve the issue.
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.
If using custom extensions, place them under $DEVTEST_HOME/hotdeploy folder and it should be enough.
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