]
Ondra Chaloupka updated JBTM-3027:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Failing LRA quickstarts as Narayana still reports dependency at lra
annotations
-------------------------------------------------------------------------------
Key: JBTM-3027
URL:
https://issues.jboss.org/browse/JBTM-3027
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.8.2.Final
Reporter: Ondra Chaloupka
Assignee: Ondra Chaloupka
LRA quickstarts are failing ({{/home/ochaloup/Transactions/quickstart-jbosstm/rts/lra}})
because the fraction which is created from the {{lra-filters}} injects not only eclipse
lra annotations but the narayana:lra-annotations dependency too.
There is fail on the injections with errors like
{code}
2018-05-23 16:56:41,684 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1)
MSC000001: Failed to start service
jboss.deployment.unit."lra-test.war".WeldStartService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."lra-test.war".WeldStartService: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
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-001408: Unsatisfied
dependencies for type LRAClient with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private
io.narayana.rts.lra.demo.flight.FlightService.lraClient
at io.narayana.rts.lra.demo.flight.FlightService.lraClient(FlightService.java:0)
at
org.jboss.weld.bootstrap.Validator.validateInjectionPointForDeploymentProblems(Validator.java:359)
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:281)
at org.jboss.weld.bootstrap.Validator.validateGeneralBean(Validator.java:134)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:155)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:518)
at
org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:68)
at
org.jboss.weld.bootstrap.ConcurrentValidator$1.doWork(ConcurrentValidator.java:66)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:63)
at
org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:56)
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)
{code}