Unable to acquire lock on cache error in JBoss EAP 6

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.