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

Deploying a cache converter on its own (wo/ filter) fails to deploy

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      A converter jar deployment, without any other filters, throws the following:

      14:37:02,523 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015876: Starting deployment of "converter.jar" (runtime-name: "converter.jar")
      14:37:02,536 WARN  [org.jboss.modules] (MSC service thread 1-8) Failed to define class org.infinispan.server.test.client.hotrod.StaticCacheEventConverterFactory in Module "deployment.converter.jar:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/infinispan/server/test/client/hotrod/StaticCacheEventConverterFactory (Module "deployment.converter.jar:main" from Service Module Loader)
      	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.Module.loadModuleClass(Module.java:568) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]
      	at org.infinispan.server.endpoint.deployments.AbstractServerExtensionProcessor.addServices(AbstractServerExtensionProcessor.java:34)
      	at org.infinispan.server.endpoint.deployments.AbstractServerExtensionProcessor.deploy(AbstractServerExtensionProcessor.java:25)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.1.0.Final.jar:8.1.0.Final]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_60]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_60]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_60]
      Caused by: java.lang.NoClassDefFoundError: org/infinispan/notifications/cachelistener/filter/CacheEventConverterFactory
      	at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_60]
      	at java.lang.ClassLoader.defineClass(ClassLoader.java:800) [rt.jar:1.7.0_60]
      	at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.3.Final]
      	... 16 more
      Caused by: java.lang.ClassNotFoundException: org.infinispan.notifications.cachelistener.filter.CacheEventConverterFactory from [Module "deployment.converter.jar:main" from Service Module Loader]
      	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389) [jboss-modules.jar:1.3.3.Final]
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134) [jboss-modules.jar:1.3.3.Final]
      	... 20 more
      

      If converter is deployed along with a filter, it works fine.

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: