-
Enhancement
-
Resolution: Duplicate
-
Major
-
None
-
7.1.0.GA
-
None
After applying the 7.1.0 update tool (for both business-central and kie-server) on a RHPAM 7.0.0 installation, business-central fails to deploy:
22:10:52,030 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit."business-central.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."business-central.war".WeldStartService: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type ScriptRegistry with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private org.jboss.errai.cdi.server.scripts.HostPageScriptInjectorFilter.registry at org.jboss.errai.cdi.server.scripts.HostPageScriptInjectorFilter.registry(HostPageScriptInjectorFilter.java:0) Possible dependencies: - Managed Bean [class org.jboss.errai.cdi.server.scripts.ScriptRegistry] with qualifiers [@Any @Default], - Managed Bean [class org.jboss.errai.cdi.server.scripts.ScriptRegistry] with qualifiers [@Any @Default] at org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:370) at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:284) at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:137) at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:158) at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:501) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:61) at org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:59) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) at org.jboss.threads.JBossThread.run(JBossThread.java:320) 22:10:52,039 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "business-central.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"business-central.war\".WeldStartService" => "Failed to start service Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001409: Ambiguous dependencies for type ScriptRegistry with qualifiers @Default at injection point [BackedAnnotatedField] @Inject private org.jboss.errai.cdi.server.scripts.HostPageScriptInjectorFilter.registry at org.jboss.errai.cdi.server.scripts.HostPageScriptInjectorFilter.registry(HostPageScriptInjectorFilter.java:0) Possible dependencies: - Managed Bean [class org.jboss.errai.cdi.server.scripts.ScriptRegistry] with qualifiers [@Any @Default], - Managed Bean [class org.jboss.errai.cdi.server.scripts.ScriptRegistry] with qualifiers [@Any @Default] "}}
The same does not happen when applying the 7.0.2 patch first.
However, the installer does not indicate that this is necessary.