title: A soft-locked cache entry was expired by the underlying Ehcache
body: <p>Hibernate 3.3.x, ehcache 2.2.x</p>
  
  <blockquote>
    <blockquote>
      <p>The following error occurs, when I try to publish a lots of users in a single go. Any idea on why this would happen and how to rectify this? Is there a way to disable this cache prior to bulk loading of users, if so how should I do that?</p>
    </blockquote>
  </blockquote>
  
  <pre><code>17:17:50,140 WARN [AbstractReadWriteEhcacheAccessStrategy] Cache
  persistence.unit:unitName=my.ear/my-ejb-1.0.0.jar#my.com.mycompany.User.phones Key com.mycompany.User.phones#9915 Lockable : null
  
  A soft-locked cache entry was expired by the underlying Ehcache.
  If this happens regularly you should consider increasing the cache timeouts and/or capacity limits
  </code></pre>
  
  <p>EDIT1:</p>
  
  <p>This error happens when I try to bulk load a lot of users into the database via JPA calls. I don't shutdown the cache manager via a tear down hook.</p>