RemoteEMDIIndexer unable to throw the correct exception due to missing/incorrect java class EDMAPIException
search cancel

RemoteEMDIIndexer unable to throw the correct exception due to missing/incorrect java class EDMAPIException

book

Article ID: 392324

calendar_today

Updated On:

Products

Data Loss Prevention Core Package Data Loss Prevention

Issue/Introduction

After installing RemoteEMDIIndexer in the selected location, you run the RemoteEMDIIndexer.exe tool from command line (CMD) with the parameters required for creating an EMDI index. In the command output, you got the below error:

Caught unhandled Java exception
java.lang.RuntimeException: java.lang.RuntimeException: Unable to find com/vontu/profileindex/database/jni/EDMAPIException

 

Environment

DLP 16 +

Cause

There is very likely an issue with the data source used for the EMDI index creation, but the Remote EMDI Indexer prints out an incorrect error instead. That incorrect error is caused by a lack of the line './lib/jar/model.jar' in Classpath.txt file for the Indexer. That file is located in the Indexer installation directory, under the path <version>\Protect\config\RemoteEMDIIndexer. The file defines a list of .jar classes that will be used by a specific executable/utility.

Resolution

  1.  Go to Indexer install directory.
  2. Under Indexer install directory navigate to 16.0.10000\Protect\config\RemoteEMDIIndexer
  3. In this directory, you will see a Classpath file. Open this file in the text editor.
  4. In the Classpath file, add ../lib/jar/model.jar at the end of the file. Save the file and close it.
  5. steps 1-4 can be applied for RemoteEDMIndexer as well. Please ensure that you navigate to the correct directory
  6.  Run the remote indexer again.