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, 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