After applying 14.3 CP3 patch in our existing 14.3 CP1 environment on Windows 2012 R2 and JBoss 6.4 with Java 1.8.0_171, Identity Manager is unable to start due to following deployment error.
12:27:54,526 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.module.service."deployment.iam_im.ear.ca-nim-sm.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.iam_im.ear.ca-nim-sm.war".main: JBAS018759: Failed to load module: deployment.iam_im.ear.ca-nim-sm.war:main
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:94) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
Caused by: org.jboss.modules.ModuleNotFoundException: javax.batch.api:main
at org.jboss.modules.Module.addPaths(Module.java:1050) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.Module.link(Module.java:1406) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1434) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242) [jboss-modules.jar:1.3.6.Final-redhat-1]
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:71) [jboss-as-server-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21]
... 5 more
<.. cut ..>
12:27:55,022 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.module.service.\"deployment.iam_im.ear.ca-nim-sm.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.iam_im.ear.ca-nim-sm.war\".main: JBAS018759: Failed to load module: deployment.iam_im.ear.ca-nim-sm.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: javax.batch.api:main"}}
12:27:55,200 INFO [org.jboss.as.server] (ServerService Thread Pool -- 33) JBAS015859: Deployed "iam_im.ear" (runtime-name : "iam_im.ear")
12:27:55,200 INFO [org.jboss.as.server] (ServerService Thread Pool -- 33) JBAS015859: Deployed "castylesr5.1.1.ear" (runtime-name : "castylesr5.1.1.ear")
12:27:55,208 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.module.service."deployment.iam_im.ear.ca-nim-sm.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.iam_im.ear.ca-nim-sm.war".main: JBAS018759: Failed to load module: deployment.iam_im.ear.ca-nim-sm.war:main
Release : 14.3
Component : IdentityMinder(Identity Manager)
There is issue with IM 14.3 CP3 deployment descriptor file, i.e.
standalone\deployments\iam_im.ear\META-INF\jboss-deployment-structure.xml
Edit the file by commenting out these 2:
<module name="javax.batch.api" export="true" />
<module name="javax.enterprise.concurrent.api" export="true" />
This server was a 12.6.8 server that has been upgraded through the years. This may be the whole reason for this case.
After these changes, restart JBoss and this should resolve the problem.