[infinispan-issues] [JBoss JIRA] (ISPN-5121) Distributed executor fails when CDI is not on classpath

Tristan Tarrant (JIRA) issues at jboss.org
Wed Jan 7 06:22:29 EST 2015


Tristan Tarrant created ISPN-5121:
-------------------------------------

             Summary: 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.0.3.Final, 7.1.0.Alpha1
            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)




--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the infinispan-issues mailing list