How to customize the location for file-store persistance in RHDG

Solution Verified - Updated -


  • Is it possible to store the files of a file-store in a custom location?
  • The file-store element "relative-to" not working as expected and throw an Exception during server start
ERROR [] (MSC service thread 1-8) MSC000001: Failed to start service jboss.datagrid-infinispan.clustered.wolf.config: org.jboss.msc.service.StartException in service jboss.datagrid-infinispan.clustered.wolf.config: Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(
    at org.jboss.msc.service.ServiceControllerImpl$
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(
    at org.jboss.threads.EnhancedQueueExecutor$
Caused by: java.lang.IllegalArgumentException: WFLYCTL0256: Could not find a path called '/MyCacheStore'
    at org.jboss.msc.inject.CastingInjector.inject(
    at org.jboss.msc.service.ServiceControllerImpl.inject(
    at org.jboss.msc.service.ServiceControllerImpl.inject(
    at org.jboss.msc.service.ServiceControllerImpl.access$2800(
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(
    ... 6 more


  • Red Hat Data Grid (RHDG)
    • 6
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content