ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Identity Manager upgrade from 14.0 to 14.3 running on wildfly

book

Article ID: 145685

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

After upgrading Identity Manager from 14.0 to 14.3 we are getting errors messages when starting wildfly

Cause

In the server.log we see the following errors:

13:34:12,175 WARN  [org.apache.myfaces.shared_impl.util.LocaleUtils] (MSC service thread 1-2) Locale name in faces-config.xml null or empty, setting locale to default locale : en_US
13:34:12,566 WARN  [org.jboss.modules] (MSC service thread 1-2) Failed to define class com.ca.identitymanager.webservices.WebServicesApplication in Module "deployment.iam_im.ear.user_console.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link com/ca/identitymanager/webservices/WebServicesApplication (Module "deployment.iam_im.ear.user_console.war:main" from Service Module Loader)

...
13:34:12,613 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./iam/im: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./iam/im: Failed to start service
        
...
13:34:12,691 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "iam_im.ear")]) - failure description: {
    "JBAS014671: Failed services" => {"jboss.undertow.deployment.default-server.default-host./iam/im" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./iam/im: Failed to start service
    Caused by: java.lang.LinkageError: Failed to link com/ca/identitymanager/webservices/WebServicesApplication (Module \"deployment.iam_im.ear.user_console.war:main\" from Service Module Loader)
    Caused by: java.lang.NoClassDefFoundError: com/sun/jersey/api/core/PackagesResourceConfig
    Caused by: java.lang.ClassNotFoundException: com.sun.jersey.api.core.PackagesResourceConfig from [Module \"deployment.iam_im.ear.user_console.war:main\" from Service Module Loader]"},
    "JBAS014771: Services with missing/unavailable dependencies" => [
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.InstanceName is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"manage_redirect.war\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".deploymentCompleteService]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.HandleDelegate is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.InstanceName is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".beanmanager]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.ORB is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".deploymentCompleteService]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".deploymentCompleteService]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.Validator is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.ValidatorFactory is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.HandleDelegate is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.InstanceName is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.Validator is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.Validator is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.HandleDelegate is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.ORB is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]",
        "jboss.deployment.unit.\"iam_im.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".deploymentCompleteService, jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".deploymentCompleteService, jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".deploymentCompleteService, jboss.deployment.subunit.\"iam_im.ear\".\"manage_redirect.war\".deploymentCompleteService]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB.Validator is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.ORB is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB.ORB is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB.HandleDelegate is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB.InstanceName is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB]"
    ]
}
13:34:12,800 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.2.1.Final "Tweek" started (with errors) in 50057ms - Started 4038 of 4180 services (39 services failed or missing dependencies, 194 services are lazy, passive or on-demand)
13:34:13,035 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (ServerService Thread Pool -- 8) IJ000615: Destroying active connection in pool: policyserver ([email protected])
13:34:21,972 ERROR [org.jboss.as.ejb3.invocation] (Query_alertq#AlertQ1#WPDS) JBAS014134: EJB Invocation failed on component MonitorPvt_EJB for method public abstract com.workpoint.common.data.table.AlertMonitorTable[] com.workpoint.server.pojo.MonitorPvt.queryAlertQMonitors(java.lang.String,java.lang.String,java.math.BigDecimal,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String[],java.lang.String,boolean,java.lang.String,boolean,int,boolean) throws com.workpoint.server.ejb.WorkPointEJBException: org.jboss.as.ejb3.component.EJBComponentUnavailableException: JBAS014559: Invocation cannot proceed as component is shutting down

Environment

Release : 14.3

Component : IdentityMinder(Identity Manager)

Resolution

During the upgrade there was a backup file created called "identitymanager.bak.jar" in the folder ..\wildfly-8.2.1.Final\standalone\deployments\iam_im.ear\user_console.war\WEB-INF\lib.

This caused a conflict with the actual identitymanager.jar due to the filename extension.

Removing this backup file or renaming it with a different extension will resolve the issue.