Error: "java.lang.NoClassDefFoundError: com/rsa/jsafe/provider/JsafeJCE" when using the DBPasswordChanger.exe to change the protect password
search cancel

Error: "java.lang.NoClassDefFoundError: com/rsa/jsafe/provider/JsafeJCE" when using the DBPasswordChanger.exe to change the protect password

book

Article ID: 231029

calendar_today

Updated On:

Products

Data Loss Prevention Oracle Standard Edition 2 Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

You receive a Java exception error when trying to change the database protect password using the DBPasswordChanger.exe in Symantec Data Loss Prevention

Error:
Caught unhandled Java exception
java.lang.NoClassDefFoundError: com/rsa/jsafe/provider/JsafeJCE

 

 

 

 

Environment

Release: 15.5

Component: DBpasswordchanger.exe

Resolution

The NoClassDefFoundError is resolved following these steps:
This was written for a Linux install of DLP.
The same general process works on Windows but the paths will be different.

Modify the following file:

../../../EnforceServer/15.5/Protect/config/DBPasswordChanger/ Classpath.txt (Windows - \Symantec\DataLossPrevention\EnforceServer\15.5\Protect\config\DBPasswordChanger\Classpath.txt)

 

As follows:

Modify dppassword changer properties file located here:

/opt/Vontu/EnforceServer/15.5/Protect/config/DBPasswordChanger/Classpath.txt (Windows - \Symantec\DataLossPrevention\EnforceServer\15.5\Protect\config\DBPasswordChanger\Classpath.txt)

Make a backup: cp Classpath.txt Classpath.txt.bak

Modify the Classpath.txt as follows:

 ../lib/jar/DBPasswordChanger.jar

Original paths -

../lib/jar/RSACryptoJ/cryptojce.jar

../lib/jar/RSACryptoJ/cryptojcommon.jar

../lib/jar/RSACryptoJ/jcmFIPS.jar

 

Modified paths -

 ../../../../ServerPlatformCommon/15.5/Protect/lib/jar/cryptojce.jar (Windows - \Symantec\DataLossPrevention\ServerPlatformCommon\15.5\Protect\lib\jar\cryptojce.jar)

../../../../ServerPlatformCommon/15.5/Protect/lib/jar/cryptojcommon.jar

../../../../ServerPlatformCommon/15.5/Protect/lib/jar/jcmFIPS.jar

../../../../ServerPlatformCommon/15.5/Protect/lib/jar/vontu_utilities.jar

../../../../ServerPlatformCommon/15.5/Protect/lib/jar/symanteccrypto.jar

../../../../ServerPlatformCommon/15.5/Protect/lib/jar/symanteccrypto_intg.jar