Unable to acquire lock on cache error in JBoss EAP 6
Issue
- Getting sporadic deployment failures when deploying an ear with multiple web apps:
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 60) MSC000001: Failed to start service jboss.infinispan.web.default-host/myApp: org.jboss.msc.service.StartException in service jboss.infinispan.web.default-host/myApp: org.infinispan.CacheException: Unable to acquire lock on cache with name default-host/myApp
...
Caused by: org.infinispan.CacheException: Unable to acquire lock on cache with name default-host/myApp
at org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:675)
...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.