Error when deploying HTTP VS on Dockers: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext

Document ID : KB000111701
Last Modified Date : 05/09/2018
Show Technical Document Details
Issue:
DevTest 10.2 is installed on Dockers.
When trying to deploy a HTTP VSM to the VSE from the Workstation, we get the following exception:

============================================================================
| Exception:
============================================================================
| Message: Could not stage: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
----------------------------------------------------------------------------
| Trapped Exception: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
| Trapped Message: java.lang.NoClassDefFoundError: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext
----------------------------------------------------------------------------
STACK TRACE java.lang.NoClassDefFoundError: Could not initialize class com.itko.lisa.utils.ssl.VSESSLContext at
Environment:
DevTest 10.2 installed on Dockers.
Cause:
In the lisa.properties there is a reference the vse.ks file with the property 'ssl.server.cert.path'.
However, the vse.ks is not available under /opt/CA/DevTest/10.2/docker/dockerimages/servers-base/build/devtest.
 
Resolution:
There is an updated version of the Gradle file that is used to build out the servers-base Docker image; it makes sure the vse.ks keystore file from the DevTest installation directory is copied.
If you need this file, please open a support ticket and reference DE381258.

This file replaces the build.gradle file found at $DEVTEST_HOME/docker/dockerimages/servers-base/build.gradle .

To update an already built servers-base image, we can copy the $DEVTEST_HOME/vse.ks keystore file into the following two locations:
$DEVTEST_HOME/docker/dockerimages/servers-base/build/devtest
and
$DEVTEST_HOME/docker/dockerimages/servers-base/build/docker/devtest