]
Work on ISPN-6175 started by William Burns.
-------------------------------------------
Server throwing warning about wrong eviction configuration
----------------------------------------------------------
Key: ISPN-6175
URL:
https://issues.jboss.org/browse/ISPN-6175
Project: Infinispan
Issue Type: Bug
Components: Eviction, Server
Reporter: Martin Gencur
Assignee: William Burns
Priority: Minor
After building the latest ISPN snapshot (HEAD == ISPN-6137 Fix
ScriptMetadataTest.testBrokenParameters), the server throws the following warning:
ISPN000152: Passivation configured without an eviction policy being selected. Only
manually evicted entities will be passivated.
This happens whether I use default standalone.xml configuration or add eviction and
passivation elements in the config. I.e. tried this config and still getting the warning:
{code}
<eviction strategy="LRU" size="1" type="COUNT"/>
<file-store passivation="true" path="dc" purge="true"
shared="false"/>
{code}
It looks like the eviction is working properly, it's just the warning that makes
confusion.