000029539 - Error message "Could not find or load main class IM" when running RSA runConnectionManager.bat for RSA NetWitness SecOps Manager

Document created by RSA Customer Support Employee on Feb 5, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000029539
Applies ToRSA Product Set: Archer, NetWitness Logs & Packets, Security Analytics
RSA Product/Service Type: RSA NetWitness SecOps Manager, Security Operations Management (SecOps), SA IM Integration Service
Platform: Windows
IssueReceiving the below error while running the SA IM - runConnectionManager.bat.

Error: Could not find or load main class IM


User-added image
ResolutionIt is possibly a JAVA_HOME environment variable issue caused by spaces in the directory path (such as Program Files).

If the default path is not being used, edit the batch file and encase the -Dconfig.dir location in double-quotes (").

java -cp .;../config;lib\* -Dconfig.dir="C:/PROGRAM FILES/EMC/RSA/SOME DIRECTORY/config" -Dlog4j.configuration=connectionManager-log4j.xml com.rsa.vrm.collector.client.CommandLineClient


Another option is to edit the batch file and modify the -Dconfig.dir location.  Use the tilde (~) symbol to remove the spaces from the default path.

java -cp .;../config;lib\* -Dconfig.dir=C:/PROGRA~1/EMC/RSA/SAIMIN~1/config -Dlog4j.configuration=connectionManager-log4j.xml com.rsa.vrm.collector.client.CommandLineClient


 

Attachments

    Outcomes