title: Echache 3.2.0 No Store.Provider found to handle configured resource types [offheap, disk] exception
body: <p>i have recently switched from an older implementation of ehcache to  version 3.2 so i have the following xml configuration file for a project:</p>
  
  <pre><code>&lt;eh:config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
    xmlns:eh='http://www.ehcache.org/v3'
    xsi:schemaLocation="http://www.ehcache.org/v3    
    http://www.ehcache.org/schema/ehcache-core-3.0.xsd"&gt;
  &lt;eh:persistence directory="C:\foo\bar\Cache-Persistence"/&gt;
  &lt;eh:thread-pools&gt; 
    &lt;eh:thread-pool alias="defaultDiskPool" min-size="1" max-size="3"/&gt;
  &lt;/eh:thread-pools&gt; 
  &lt;eh:disk-store thread-pool="defaultDiskPool"/&gt;
  &lt;eh:cache-template name="PROC_REQTemplate"&gt;
    &lt;eh:key-type&gt;java.lang.String&lt;/eh:key-type&gt;
    &lt;eh:value-type&gt;java.lang.String&lt;/eh:value-type&gt;
    &lt;eh:expiry&gt;
      &lt;eh:ttl&gt;640&lt;/eh:ttl&gt;
    &lt;/eh:expiry&gt; 
    &lt;eh:resources&gt; 
      &lt;eh:offheap unit="MB"&gt;500&lt;/eh:offheap&gt;
      &lt;eh:disk unit="GB" persistent="true"&gt;3&lt;/eh:disk&gt;
    &lt;/eh:resources&gt;
    &lt;eh:disk-store-settings thread-pool="defaultDiskPool"/&gt;
  &lt;/eh:cache-template&gt;
  &lt;eh:cache alias="proc_req_cache" uses-template="PROC_REQTemplate"/&gt;
  &lt;/eh:config&gt; 
  </code></pre>
  
  <p>with the above shown configuration i get the following exception trace that i keep truncated to conserve a bit of space but shows clearly the error:</p>
  
  <pre><code>java.lang.IllegalStateException: No Store.Provider found to handle configured resource types [offheap, disk] from {org.ehcache.impl.internal.store.heap.OnHeapStore$Provider, org.ehcache.impl.internal.store.tiering.TieredStore$Provider, org.ehcache.impl.internal.store.offheap.OffHeapStore$Provider, org.ehcache.impl.internal.store.disk.OffHeapDiskStore$Provider}
  at org.ehcache.core.internal.store.StoreSupport.selectStoreProvider(StoreSupport.java:80) ~[?:?]
  at org.ehcache.core.EhcacheManager.getStore(EhcacheManager.java:440) ~[?:?]
  at org.ehcache.core.EhcacheManager.createNewEhcache(EhcacheManager.java:311) ~[?:?]
  at org.ehcache.core.EhcacheManager.createCache(EhcacheManager.java:260) ~[?:?]
  at org.ehcache.core.EhcacheManager.init(EhcacheManager.java:567) ~[?:?]
  </code></pre>
  
  <p>I thought that according to the current 3.2 documentation you can use any combination of data storage tiers but apparently this is not the case as the above error shows.So...</p>
  
  <ol>
  <li>I can only make the above hown configuration to work if i comment-out the 
  offheap resource  and leave <strong>only</strong> the disk but not both. Is this normal? what am i missing?</li>
  <li>As per the 2.7.8 version the documentation (see here <a href="http://www.ehcache.org/documentation/2.8/get-started/storage-options.html" rel="nofollow noreferrer">ehcache-2.8-storage-options</a>) mentioned BigMemory as the offHeap store however, in ehcache-3.2.0.jar if i am seeing correctly there is some-kind of internal map for that purpose. Could the error reported above be related to the fact that i am not including BigMemory in the project? My guess is no, but it would be nice if someone could clarify?</li>
  </ol>
  
  <p>Any help would be greatly appreciated. Thanks in advance. </p>