JBoss Warns about "ISPN000163: FileCacheStore ignored an unexpected file in path"

Solution Verified - Updated

Environment

  • JBoss Enterprise Application Platform (EAP) 6.0.0, 6.0.1
    • Infinispan

Issue

  • JBoss frequently throws the following WARN message:
WARN  [org.infinispan.loaders.file.FileCacheStore] (OOB-18,null) ISPN000163: FileCacheStore ignored an unexpected file in path /jboss-eap-6.0/standalone/data/infinispan/web/default-host. The store path should be dedicated!

Resolution

  • Apply EAP 6.4 CP14 when available which fixes the This content is not included.BZ1412495 when using nested contexts a/b, a/c,. Note: you will need to remove the folders if they already exist prior to applying CP14 patch.

  • As a work around, you can bind your application to the root context instead through one of the following methods, which appears to provide a proper store path:

    • Deploy your application as ROOT.war
    • Bind your application to the root context in the jboss-web.xml like so instead:
<context-root>ROOT</context-root>

Root Cause

  • This was previously fixed by AS7-4283, but a regression from AS7-4612 reintroduced this bug.
  • This now appears to occur specifically when an application is deployed and bound to the root context through its WEB-INF/jboss-web.xml like so:
<context-root>/</context-root>
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.