IM 14.4 Failed To Start After Upgrade From IM 14.3 - wpEventQueue
search cancel

IM 14.4 Failed To Start After Upgrade From IM 14.3 - wpEventQueue

book

Article ID: 263850

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

After upgrading IM 14.3 (JBoss 7.2.9) to IM 14.4 (JBoss 7.2.9) the IM JBoss fails to start up and deploy. The server.log shows the following:

16:35:41,045 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "iam_im.ear")]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => [
        "jboss.naming.context.java.jboss.exported.jms.queue.wpEventQueue",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB",
        "jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".beanmanager",
        "jboss.deployment.subunit.\"iam_im.ear\".\"manage_redirect.war\".deploymentCompleteService",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB",
        "jboss.deployment.subunit.\"iam_im.ear\".\"manage_redirect.war\".beanmanager",
        "jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".beanmanager",
        "jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".deploymentCompleteService",
        "jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".deploymentCompleteService",
        "jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".deploymentCompleteService",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB",
        "jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".beanmanager",
        "jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".beanmanager",
        "jboss.naming.context.java.jboss.exported.jms.queue.wpServAutoActQueue",
        "jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".deploymentCompleteService",
        "jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.WorkFlowCallBackEJB",
        "jboss.naming.context.java.jboss.exported.jms.queue.wpUtilQueue"
    ],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "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.module.iam_im.user_console.env.\"iam.im.jms.queue.wpEventQueue\" is missing [jboss.naming.context.java.jboss.exported.jms.queue.wpEventQueue]",
        "jboss.naming.context.java.module.iam_im.user_console.env.\"iam.im.jms.queue.wpUtilQueue\" is missing [jboss.naming.context.java.jboss.exported.jms.queue.wpUtilQueue]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".deploymentCompleteService]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".deploymentCompleteService]",
        "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.WorkFlowCallBackEJB.ORB 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.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.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.SubscriberMessageEJB.InstanceName 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.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.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.RuntimeStatusDetailEJB.InAppClientContainer is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.RuntimeStatusDetailEJB]",
        "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\".\"manage_redirect.war\".deploymentCompleteService, jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".deploymentCompleteService, jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".deploymentCompleteService]",
        "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.SubscriberMessageEJB.Validator is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.SubscriberMessageEJB]",
        "jboss.naming.context.java.module.iam_im.user_console.env.\"iam.im.jms.queue.wpServAutoActQueue\" is missing [jboss.naming.context.java.jboss.exported.jms.queue.wpServAutoActQueue]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".beanmanager]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"iam_im.ear\".\"redirect.war\".beanmanager]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".beanmanager]",
        "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.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\".\"manage_redirect.war\".batch.artifact.factory is missing [jboss.deployment.subunit.\"iam_im.ear\".\"manage_redirect.war\".beanmanager]",
        "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.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.ServerCommandsEJB.ORB is missing [jboss.naming.context.java.comp.iam_im.iam_im_identityminder_ejb.ServerCommandsEJB]",
        "jboss.deployment.subunit.\"iam_im.ear\".\"ca-nim-sm.war\".INSTALL is missing [jboss.deployment.subunit.\"iam_im.ear\".\"management_console.war\".deploymentCompleteService]",
        "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.InstanceName 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.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.RuntimeStatusDetailEJB.ValidatorFactory 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\".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.SubscriberMessageEJB.ValidatorFactory 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.ServerCommandsEJB.HandleDelegate 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\".batch.artifact.factory is missing [jboss.deployment.subunit.\"iam_im.ear\".\"iam_im_identityminder_ejb.jar\".beanmanager]"
    ]
}

Environment

Identity Manager 14.4

Cause

In the JBoss \standalone\deployments\iam_im.ear\user_console.war\WEB-INF\web.xml file the following lines still exist which were valid with IM 14.3 but not valid with IM 14.4 and causing conflicts:

<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpEventQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpEventQueue</jndi-name>
</resource-ref>
<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpServAutoActQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpServAutoActQueue</jndi-name>
</resource-ref>
<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpUtilQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpUtilQueue</jndi-name>
</resource-ref>

 

Resolution

1. Stop JBoss
2. Delete the contents inside the JBoss \standalone\tmp folder and \standalone\log folder
3. Rename the castylesr5.1.1.ear.deployed and iam_im.ear.failed to castylesr5.1.1.ear.dodeploy and iam_im.ear.dodeploy in the JBoss standalone\deployments folder
4. Edit the JBoss \standalone\deployments\iam_im.ear\user_console.war\WEB-INF\web.xml file so you remove the following lines found near the bottom of the file as they are from IM 14.3.x and should not be present any longer with IM 14.4 and is causing a conflicts:

<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpEventQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpEventQueue</jndi-name>
</resource-ref>
<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpServAutoActQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpServAutoActQueue</jndi-name>
</resource-ref>
<resource-ref>
        <res-ref-name>iam.im.jms.queue.wpUtilQueue</res-ref-name>
        <jndi-name>java:jboss/exported/jms/queue/wpUtilQueue</jndi-name>
</resource-ref>

5. Start JBoss