Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-75

Dependency mismatch between EAP modules for library and remote client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JDG 7.0.0 ER3
    • JDG 7.0.0 ER1
    • EAP modules
    • None

      The org.infinispan.commons module has different depenedencies on JBoss Marshalling in EAP modules for library mode and in EAP modules for HotRod client:

      EAP modules (library):
      <module name="org.jboss.marshalling" slot="ispn-8.3" services="import"/>

      EAP modules (remote):
      <module name="org.jboss.marshalling"/>
      <module name="org.jboss.marshalling.river" services="import"/>

      When I install both modules, I get an exception either for library mode or remote mode, depending on which modules are installed first.
      When EAP modules for library mode are installed first and then modules for HotRod client, I get the following exception when using anything from library mode:

      Caused by: java.lang.LinkageError: org/jboss/marshalling/MarshallingConfiguration
      	at org.infinispan.marshall.core.JBossMarshaller.start(JBossMarshaller.java:61)
      	at org.infinispan.marshall.core.VersionAwareMarshaller.start(VersionAwareMarshaller.java:64)
      	at org.infinispan.marshall.core.GlobalMarshaller.start(GlobalMarshaller.java:36)
      	at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:168)
      	at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:859)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:628)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:225)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:153)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:171)
      	at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)
      	at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:156)
      	at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246)
      	at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:71)
      	at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:787)
      	at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:219)
      	at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:193)
      	at org.infinispan.factories.AbstractComponentRegistry.registerNonVolatileComponent(AbstractComponentRegistry.java:179)
      	at org.infinispan.factories.ComponentRegistry.<init>(ComponentRegistry.java:89)
      	at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:123)
      	at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:73)
      	at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:56)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:625)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:585)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:451)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:437)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:419)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:122)
      

              slaskawi@redhat.com Sebastian Ɓaskawiec (Inactive)
              mgencur Martin Gencur
              Vojtech Juranek Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: