Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5121

Distributed executor fails when CDI is not on classpath

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.Alpha1, 7.0.3.Final
    • CDI, Clustered Executor
    • None

    Description

      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)

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            ttarrant@redhat.com Tristan Tarrant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: