CA Identity Manager Bulk Loader fails when using Oracle Weblogic as Web Server

Document ID : KB000013694
Last Modified Date : 27/03/2018
Show Technical Document Details
Question:

When running Bulk loading on Identity Manager, an error appears "saveTaskSessionEvent: exception saving task session: org.apache.commons.fileupload.DefaultFileItem". What could be the cause and resolution of this error?

Environment:
Linux
IDM 14.1
Answer:

This issue is due to the default DefaultFileItem.class file loading from weblogic‘s weblogic.server.merged.jar file.

In order to resolve this you need to load the DefaultFileItem.class file from IDM commons-fileupload.jar

Step 1) Add highlighted new line to./iam_im.ear/META-INF/weblogic-application.xml
 
cat ./iam_im.ear/META-INF/weblogic-application.xml
 
  <prefer-application-packages>
    <package-name>com.rsa.*</package-name>
        <package-name>org.mozilla.*</package-name>
    <!-- <package-name>org.mozilla.classfile.*</package-name> -->
    <package-name>org.apache.xerces.*</package-name>
    <package-name>org.apache.commons.*</package-name>
        <package-name>org.apache.log4j.*</package-name>
                <package-name>commonj.sdo.*</package-name>
                <package-name>javax.faces.*</package-name>
                <package-name>com.google.common.*</package-name>
                <package-name>javax.ws.rs.*</package-name>
                <package-name>com.sun.jersey.*</package-name>
                <package-name>org.bouncycastle.*</package-name>
  </prefer-application-packages>
 
</weblogic-application>

Save this and start the application server. Once booted back up please attempt to bulk load.