Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
Summary
Upgrading Access Manager 4.5.6 upgrade to 5.0.2 fails with the error "An exception occured while initializing AutopassJ!"
Products
Access Manager (NAM)
Article Body
Environment
NAM 4.5.6 upgrading to NAM 5.0.2
Situation
The NAM 5.0.2 upgrade script is run on a NAM 4.5.6 Administration Console in an attempt to upgrade to version 5.0.2.
The following error is received -
Upgrading Novell Identity Server Administration Plug-in:
There has been an error installing the license. Please review the logfile found at /tmp/novell_access_manager/upgrade_edir_2022-09-14_10:29:03.log for more details.
The upgrade_edir_2022-09-14_10:29:03.log shows :-
An exception occured while initializing AutopassJ!
Exception while installing the full license
Error code : 5991
Error message : Product definition mode or file is not valid
Custom message : Product Definition reader failed : 'java.io.FileNotFoundException: /opt/novell/nam/adminconsole/webapps/nps/WEB-INF/lib/ACM.pd (No such file or directory)'.
at com.hp.autopassj.core.pdf.builder.TextProductDefinitionBuilder.decryptSecuredProductDefinition(TextProductDefinitionBuilder.java:103)
at com.hp.autopassj.core.pdf.builder.TextProductDefinitionBuilder.decryptProductDefinition(TextProductDefinitionBuilder.java:78)
at com.hp.autopassj.core.pdf.builder.ProductDefinitionBuilder.buildProductDefintion(ProductDefinitionBuilder.java:95)
at com.hp.autopassj.core.pdf.ProductDefinitionStore.getProductDefinitionFromBuilder(ProductDefinitionStore.java:264)
at com.hp.autopassj.core.pdf.ProductDefinitionStore.addProductDefinition(ProductDefinitionStore.java:154)
at com.hp.autopassj.core.config.ConfigurationManager.setProductContext(ConfigurationManager.java:1404)
at com.hp.autopassj.core.config.ConfigurationManager.configureAutopassJ(ConfigurationManager.java:398)
at com.hp.autopassj.core.LicenseHandler.init(LicenseHandler.java:183)
at com.hp.autopassj.core.AutopassJ.init(AutopassJ.java:1226)
at com.hp.autopassj.core.AutopassJ.initAutopassJ(AutopassJ.java:183)
at com.hp.autopassj.core.AutopassJ.<init>(AutopassJ.java:150)
at com.novell.nam.common.util.AutopassUtil.initAutopassJ(AutopassUtil.java:29)
at DatastoreManager.installFullLicense(DatastoreManager.java:1952)
at DatastoreManager.main(DatastoreManager.java:2074)
There has been an error installing the license. Please review the logfile found at /tmp/novell_access_manager/upgrade_edir_2022-09-14_10:29:03.log for more details.
Upgrading the same environment from NAM 4.5.5 to NAM 5.0.2 works without error.
Cause
Upgrade from NAM4.5.6 to NAM5.0.2 is not supported as per the NAM 5.0.2 release notes.
NAM 4.5.6 was released after NAM 5.0.2 and this scenario was not tested.
Refer to the Access Manager 5.0.2 release notes for a list of supported upgrade scenarios.
Resolution
Upgrade from NAM 4.5.6 will be supported with NAM 5.0.3.
Additional Information
https://www.microfocus.com/documentation/access-manager/5.0/accessmanager502-release-notes/accessmanager502-release-notes.html#supported-upgrade-path
URL Name
KM000010550