Could not see VSE in DevTest Portal
search cancel

Could not see VSE in DevTest Portal

book

Article ID: 103898

calendar_today

Updated On:

Products

CA Application Test

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.

Environment

Release: Service Virtualization 10.7.2 and newer

Component: JMS Client Assets

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.

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.7.2\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.