How to eliminate attachment related error when running Bulk Loader Client

Document ID : KB000048060
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When running the bulk loader client, the following error appears:

"Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled."

Below is the solution to include required jars so error no longer appears.

Solution:

Please follow these steps in order to eliminate the attachment related error:

  1. Copy the mail.jar file from

    ..\CA\Identity Manager\IAM Suite\Identity Manager\tools\Workpoint\lib
    To
    ..\CA\Identity Manager\Bulk Loader\lib

  2. Edit the Bulk Loader file "imbulkloadclient.bat" to adjust classpath (the -cp parameter) to include the new jar file - so should look like

    ".;..\conf;..\lib\mail.jar;..\lib\imbulkloadclient.jar"

    Figure 1

    Next time launching the bulk loader client, the attachment message no longer appears.