Could not see VSE in DevTest Portal

book

Article ID: 103898

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

After finishing the Active MQ set up in DevTest, there are error messages recorded in registry.log like:
2018-06-18 22:57:31,779Z (08:57) [Thread-13] ERROR org.springframework.boot.SpringApplication - Application startup failed
java.lang.IllegalStateException: Cannot load configuration class: org.springframework.jms.annotation.JmsBootstrapConfiguration
And also DevTest Portal could not show connected VSE even if VSE is running status.

Cause

The third party jar file named activemq-all-X.X.X.jar which is located in LISA_HOME\hotDeploy or LISA_HOME\lib folder causes these problems.

Environment

Release: Service Virtualization 10.1, 10.2, 10.3

Component: JMS Client Assets

Resolution

To change the activemq-all-X.X.X.jar references from DevTest components(targeted only 4 components) can solve the problem.

Please follow these steps:

  1. Stop all DevTest Components 
  2. Move activemq-all-X.X.X.jar from LISA_HOME\hotDeploy or LISA_HOME\lib to a different folder. For example LISA_HOME\ThirdPatryJars folder and move the activemq-all-X.X.X.jar file to the folder.
  3. Open .vmoptions files named CoordinatorServer.vmoptions, CoordinatorService.vmoptions, Simulator.vmoptions, SimulatorService.vmoptions, VirtualServiceEnvironment.vmoptions, VirtualServiceEnvironmentService.vmoptions and Workstation.vmoptions in the LISA_HOME\bin folder by text editor.
  4. Add one line at the bottom of the .vmoptions files "-classpath/a {full-path of activemq-all-X.X.X.jar}" and save the files. For example, "-classpath/a C:\Program Files\CA\DevTest10.3\ThirdPatryJars\activemq-all-X.X.X.jar" in Windows environment.
  5. Save the .vmoptions files which were edited in step 3.
  6. Start all the DevTest components.

Or please use activemq-client-X.X.X.jar on behalf of activemq-all-X.X.X.jar.