After migration JBoss EAP 7.2 to 7.4 Deployment fails with the following exception:
16:46:12,655 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 87) MSC000001: Failed to start service jboss.deployment.subunit."iam_im.ear"."wpServer.war".undertow-deployment: org.jboss.msc.service.StartException in service jboss.deployment.subunit."iam_im.ear"."wpServer.war".undertow-deployment: java.lang.ClassCastException: org.jboss.logmanager.log4j.JBossLogger cannot be cast to org.apache.logging.log4j.core.Logger
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:81) [wildfly-undertow-7.4.15.GA-redhat-00002.jar:7.4.15.GA-redhat-00002]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_161]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_161]
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35) [jboss-threads-2.4.0.Final-redhat-00001.jar:2.4.0.Final-redhat-00001]
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990) [jboss-threads-2.4.0.Final-redhat-00001.jar:2.4.0.Final-redhat-00001]
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486) [jboss-threads-2.4.0.Final-redhat-00001.jar:2.4.0.Final-redhat-00001]
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377) [jboss-threads-2.4.0.Final-redhat-00001.jar:2.4.0.Final-redhat-00001]
at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]
at org.jboss.threads.JBossThread.run(JBossThread.java:513) [jboss-threads-2.4.0.Final-redhat-00001.jar:2.4.0.Final-redhat-00001]
Caused by: java.lang.ClassCastException: org.jboss.logmanager.log4j.JBossLogger cannot be cast to org.apache.logging.log4j.core.Logger
JBoss is running CA Identity Manager 14.4 CP2 on Windows 2016