Summary
Upgrading 10.22 CUP6 to 2018.05 the ucmdb fails with a pop-up stating:
"A fatal error has occured."
Error
Upgrading 10.22 CUP6 to 2018.05 the ucmdb fails with a pop-up stating:
"A fatal error has occured."
java.lang.NoClassDefFoundError
Could not initialize class com.hp.ucmdb.ui.discovery.types.DiscoveryManager
When opening certain modules (i.e. Modeling Studio)
The error from the log file is:
Caused by: com.hp.ucmdb.api.ExecutionException: com.hp.ucmdb.license.LicensingException: [ErrorCode [10] com.hp.ucmdb.license.LicensingException: [ErrorCode [-2147483648] undefined error code]
Failed to load license.json from URM.]
Could not load license Json
Cause
Notice that two jar files were created (local_policy.jar & US_export_policy.jar) that had been left in the root directory (UCMDBSERVER\bin\jre\security) as well as being in the new sub-directories (policy/limited & policy/unlimited).
Fix
Remove these two older jar files (local_policy.jar & US_export_policy.jar) from (UCMDBSERVER\bin\jre\security) and restart the ucmdb server.