Applied CP2 to 14.4 - NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.annotation.JsonInclude$Value
search cancel

Applied CP2 to 14.4 - NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.annotation.JsonInclude$Value

book

Article ID: 274588

calendar_today

Updated On:

Products

CA Identity Suite CA Identity Manager

Issue/Introduction

After applying CP2 to IM 14.4 the IM User Console is showing Internal Error message and the IM Server log is showing the following error:

UT005023: Exception handling request to /iam/im/identityEnv/: java.lang.NoSuchMethodError: com.fasterxml.jackson.core.JsonParser.getReadCapabilities()Lcom/fasterxml/jackson/core/util/JacksonFeatureSet;
    at com.fasterxml.jackson.databind.DeserializationContext.<init>(DeserializationContext.java:212) [jackson-databind-2.13.3.jar:2.13.3]

 

 

 

 

Environment

IM 14.4 CP2 running on Wildfly/JBoss

Cause

When running the Patch Deployer Tool to apply the CP2 there are "jackson" related jar files which will be updated (i.e. old versions removed and newer versions  2.13.3 added). It could be that the Wildfly/JBoss tmp folder has some older copies causing conflicts.

Resolution

1. Stop Wildfly or JBoss

2. Delete the contents of the Wildfly or JBoss standalone\tmp folder

3. Review the Wildfly or JBoss that is running the IM 14.4 CP2 and check the \standalone\deployements\iam_im.ear\library folder and make sure that it only has the  following three files and not any older version copies of the same files: jackson-annotations-2.13.3.jar, jackson-core-2.13.3.jar, jackson-databind-2.13.3.jar 

4. Rename the two marker files under Wildfly or JBoss standalone\deployments so that they are named castylesr5.1.1.ear.dodeploy and iam_im.ear.dodeploy

5. Start Wildfly or JBoss