Why HPE UTM populator fails to populate the CIs into CMS and it fails with error" Denied downloading of class sun/misc/BASE64Encoder.class" ?

  • KM03172453
  • 05-Jun-2018
  • 05-Jun-2018

Summary

UTM Populator could not populate data into CMS and fails with 2017-09-26 09:50:26,105 ERROR [qtp1873055219-68945] - Denied downloading of class sun/misc/BASE64Encoder.class

Error

HPE UTM Populator could not populate data into UCMDB.

It  fails with below error.

ERROR  [qtp1873055219-68945] - Denied downloading of class sun/misc/BASE64Encoder.class

 

Cause

HPE UTM  uses the JBOSS and calls the ucmdb API to populate .  As per the jboss requriement UTM needs to list all dependencies in JBOSS configuration.

"Denied downloading of class sun/misc/BASE64Encoder.class"   this specific class is part of rt.jar file. HPE UTM needs to add this jar file in it's configuration.

 

Fix

User needs to add rt.jar file to the module.xml of the jboss configuration.

It needs to mention all it's dependencies in the configuration. 

<module xmlns="urn:jboss:module:1.1" name="usr.ucmdb_api">

    <resources>

        <resource-root path="ucmdb-api10.jar"/>

    </resources>

    <dependencies>

                                 <module name="javax.api"/>

                                 <module name="org.jboss.log4j.logmanager"/>

                                 <module name="javax.xml.bind.api"/>

    </dependencies>

</module>