Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8305

CacheNotReadyException when hitting HAJNDI during shutdown

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      It was found that, because HAJNDI continued to process requests while shutting down, clients could receive <literal>CacheNotReadyException</literal> errors from components that are not in the correct state. As a resolution to this issue, HAJNDI now throws <literal>javax.naming.ServiceUnavailableException</literal> if a request comes in during shutdown, and the shutdown process waits for existing requests to complete.
      Show
      It was found that, because HAJNDI continued to process requests while shutting down, clients could receive <literal>CacheNotReadyException</literal> errors from components that are not in the correct state. As a resolution to this issue, HAJNDI now throws <literal>javax.naming.ServiceUnavailableException</literal> if a request comes in during shutdown, and the shutdown process waits for existing requests to complete.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      org.jboss.cache.invocation.CacheNotReadyException: Cache not in a valid STARTED state! Cache state is STOPPING
      at org.jboss.cache.invocation.CacheInvocationDelegate.cacheStatusCheck(CacheInvocationDelegate.java:695)
      at org.jboss.cache.invocation.CacheInvocationDelegate.get(CacheInvocationDelegate.java:442)
      at org.jboss.ha.cachemanager.CacheManagerManagedCache.get(CacheManagerManagedCache.java:193)
      at org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager.lookup(JBossCacheDistributedTreeManager.java:346)
      at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:202)
      ...

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dereed Dennis Reed
                  Reporter:
                  dereed Dennis Reed
                  Writer:
                  Scott Thomas
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: