-
Enhancement
-
Resolution: Done
-
Major
-
7.2.0.Alpha1, 7.1.1.Final
-
None
-
None
If Infinispan is used inside WildFly applications there are two WF modules for Infinispan.
One for Library mode
One for HotRod remote client mode
Both modules contain
modules/org/infinispan/client/hotrod/jdg-6.4/infinispan-client-hotrod-6.2.0.Final-redhat-4.jar
modules/org/infinispan/client/hotrod/jdg-6.4/module.xml
BUT
the module.xml is different:
< <module name="org.infinispan" slot="jdg-6.4"/>
—
> <module name="org.infinispan.commons" slot="jdg-6.4"/>
> <module name="org.infinispan.protostream" slot="jdg-6.4"/>
> <module name="org.infinispan.query.dsl" slot="jdg-6.4"/>
> <module name="org.infinispan.query.remote.client" slot="jdg-6.4"/>
This mean it is not possible to use both modules if there are applications with library mode and others with HR remote client mode.
Also it is odd because it depends on the installation order what dependencies are installed.
It should be possible to install both modules and use it at the same time from different applicaitons.