我们在集群模式下使用wildfly 8.2,带有ha profile,以便从故障转移功能中受益。
但是,自从我们在 web.xml 中启用以来,似乎事情无法正常工作</distributable>
,因为会话属性从用户的会话中异常消失。
这是我们在 domain.xml 中的缓存配置:
<cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
<transport lock-timeout="60000"/>
<local-cache name="passivation" batching="true">
<file-store passivation="true" purge="false"/>
</local-cache>
<distributed-cache name="dist" batching="true" mode="ASYNC" owners="2" l1-lifespan="0">
<locking isolation="READ_COMMITTED" striping="false" acquire-timeout="30000" concurrency-level="20000"/>
<transaction locking="OPTIMISTIC"/>
<file-store/>
</distributed-cache>
</cache-container>
有人面临同样的问题吗?这个问题是由会话钝化引起的吗?