IM application server is unable to start post upgrade
search cancel

IM application server is unable to start post upgrade

book

Article ID: 131500

calendar_today

Updated On:

Products

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

Issue/Introduction

While upgrading the CA Identity Manager the upgrade process appears to complete successfully but when JBoss\ Wildfly is started errors are encountered. 

11:32:00,755 ERROR [org.jboss.as.connector.subsystems.datasources.AbstractDataSourceService$AS7DataSourceDeployer] (MSC service thread 1-6) Exception during createSubject()JBAS013303: Runtime Exception:: java.lang.RuntimeException: JBAS013303: Runtime Exception: 
Caused by: org.jboss.modules.ModuleLoadException: Error loading module from /Application/jboss-eap-6.4/modules/com/ca/iam/crypto/main/module.xml 
11:32:07,795 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."iam_im.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."iam_im.ear".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "iam_im.ear" 
11:32:08,541 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: JBoss EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started (with errors) in 18838ms - Started 347 of 445 services (1 services failed or missing dependencies, 144 services are lazy, passive or on-demand) 
11:32:07,801 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014612: Operation ("deploy") failed - address: ([("deployment" => "iam_im.ear")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"iam_im.ear\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"iam_im.ear\".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment \"iam_im.ear\" 
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011037: Unable to process modules in application.xml for EAR [\"/Application/jboss-eap-6.4/standalone/deployments/iam_im.ear\"], module file @[email protected] not found"}} 
11:32:07,870 INFO [org.jboss.as.server] (ServerService Thread Pool -- 35) JBAS015859: Deployed "castylesr5.1.1.ear" (runtime-name : "castylesr5.1.1.ear") 
11:32:07,871 INFO [org.jboss.as.server] (ServerService Thread Pool -- 35) JBAS015859: Deployed "iam_im.ear" (runtime-name : "iam_im.ear") 
11:32:07,875 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report 
JBAS014777: Services which failed to start: service jboss.deployment.unit."iam_im.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."iam_im.ear".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "iam_im.ear" 

Environment

All Identity Manager

Cause

This issue is caused by the fact that some older jar files were not removed from the IAM folders during upgrade. The inclusion of these erroneous files stopped the App servers starting.

Resolution


Removing old .jar files left behind in the <%JBoss_Home%>/standalone/deployments/iam_im.ear allows the App server to start correctly.