]
Tristan Tarrant updated ISPN-5121:
----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request:
Distributed executor fails when CDI is not on classpath
-------------------------------------------------------
Key: ISPN-5121
URL:
https://issues.jboss.org/browse/ISPN-5121
Project: Infinispan
Issue Type: Bug
Components: CDI Integration, Distributed Execution and Map/Reduce
Affects Versions: 7.1.0.Alpha1, 7.0.3.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 7.1.0.Final, 7.0.4.Final
When running a distributed executor using the infinispan-embedded uber jar, without the
CDI API classes on the classpath the following exception is thrown:
java.lang.NoClassDefFoundError: org/infinispan/cdi/util/BeanManagerProvider
at
org.infinispan.cdi.CDIDistributedTaskLifecycle.onPostExecute(CDIDistributedTaskLifecycle.java:35)
at
org.infinispan.distexec.spi.DistributedTaskLifecycleService.onPostExecute(DistributedTaskLifecycleService.java:48)
at
org.infinispan.commands.read.DistributedExecuteCommand.perform(DistributedExecuteCommand.java:100)
at
org.infinispan.remoting.InboundInvocationHandlerImpl.handleInternal(InboundInvocationHandlerImpl.java:97)
at
org.infinispan.remoting.InboundInvocationHandlerImpl.access$000(InboundInvocationHandlerImpl.java:52)
at
org.infinispan.remoting.InboundInvocationHandlerImpl$2.run(InboundInvocationHandlerImpl.java:193)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)