-
1. Re: How to remove infinispan http session handling ?
pferraro Dec 16, 2015 11:00 AM (in response to nick.sree)Infinispan is only used for distributable sessions. If you don't use <distributable/> in your web.xml, then Infinispan will not handle web sessions.
-
2. Re: How to remove infinispan http session handling ?
nick.sree Dec 17, 2015 12:25 AM (in response to pferraro)Thanks Paul, but we are not using <distributable/> in web.xml, I guess wildfly or undertow is using infinispan under the hood for some purpose. To materialize it, when we remove the following cache config from standalone.xml wildfly won't start.
<cache-container name="web" default-cache="passivation" module="org.wildfly.clustering.web.infinispan">
<local-cache name="passivation">
<locking isolation="READ_COMMITTED"/>
<transaction locking="OPTIMISTIC" mode="BATCH"/>
<file-store passivation="true" purge="false"/>
</local-cache>
<local-cache name="persistent">
<locking isolation="READ_COMMITTED"/>
<transaction locking="OPTIMISTIC" mode="BATCH"/>
<file-store passivation="false" purge="false"/>
</local-cache>
</cache-container>
I have asked this question because of this thread which i have created the same day :- Wildfly | Infinispan Warning
-
3. Re: How to remove infinispan http session handling ?
pferraro Dec 17, 2015 3:01 PM (in response to nick.sree)Infinispan is *only* used for web sessions if your web.xml uses <distributable/> - nor does Undertow use Infinispan in any capacity.
As I mentioned on the other thread, there is probably some other component of your application that depends on Infinispan.
-
4. Re: How to remove infinispan http session handling ?
nick.sree Dec 18, 2015 2:47 AM (in response to pferraro)As i have mentioned in the other thread, we are not using neither <distributable/> nor @StatefuI anywhere in our project. I would like to hold this thread down, we can discuss it out in other thread, i guess you could help me to resolve this in other thread, thanks in advance..
-
5. Re: How to remove infinispan http session handling ?
nick.sree Jan 4, 2016 5:51 AM (in response to nick.sree)Answering via Re: Wildfly | Infinispan Warning by pferraro