Hi,
it often comes transitively when something else needs Infinispan. From the top of my head, it's at least JPA and remote EJBs. Do you perhaps have one of those?
LT
--
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/13924e01-5e07-4101-b082-c22933487741%40googlegroups.com.
Hi,
it often comes transitively when something else needs Infinispan. From the top of my head, it's at least JPA and remote EJBs. Do you perhaps have one of those?
LT
On 20. 05. 20 16:14, Hamed Hatami wrote:
--Hi there,
I need to remove infinispan fraction from packaging and I didn't add infinispan as a dependency but it's being added automatically
How can I remove infinispan fraction
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
Hi,
it often comes transitively when something else needs Infinispan. From the top of my head, it's at least JPA and remote EJBs. Do you perhaps have one of those?
LT
On 20. 05. 20 16:14, Hamed Hatami wrote:
--Hi there,
I need to remove infinispan fraction from packaging and I didn't add infinispan as a dependency but it's being added automatically
How can I remove infinispan fraction
You received this message because you are subscribed to the Google Groups "Thorntail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to thor...@googlegroups.com.
OK, in that case, I don't think we can get rid of it. You can try adding a dependency exclusion, but I think that will either end up badly, or won't have any effect.
I assume you're trying to use Infinispan manually and the Infinispan fraction somehow collides with what you're trying to do?
There's probably some magic you can do using jboss-deployment-structure.xml: https://docs.wildfly.org/18/Developer_Guide.html#jboss-deployment-structure-file
You can try excluding the subsystem, but I think that would also
end up badly.
You can instead try adding an exclusion for the org.infinispan module (I think we probably expose this module to the deployment automatically, even though WildFly doesn't), so that the built-in Infinispan won't be available to the deployment classloader, and the Infinispan JARs that come into your WEB-INF/lib because of your explicit Infinispan dependencies will be used instead.
Hope that helps,
LT
To unsubscribe from this group and stop receiving emails from it, send an email to thorntail+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/e74b185d-4e6e-4b58-8930-9948656289ee%40googlegroups.com.
One more thing: I'm not entirely sure why you can't use Infinispan that is inside Thorntail. Here's a small test that demonstrates it's possible: https://github.com/rhoar-qe/thorntail-test-suite/tree/master/wildfly/infinispan The test uses a local cache, but I think it should be possible to use a replicated or distributed cache as well.
If you could take that test and modify it to demonstrate the failure you're having, that would help figuring out what's wrong.
LT
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/ee5161cc-84f0-2926-b31e-e7e389aed2da%40redhat.com.
And here's an example that shows how to use a remote Infinispan cluster over Hot Rod: https://github.com/thorntail-examples/cache
LT
To view this discussion on the web visit https://groups.google.com/d/msgid/thorntail/9aea186a-be74-bd08-60d5-1cda4d113ea7%40redhat.com.