Application Server 3  4  5 and 6
  1. Application Server 3 4 5 and 6
  2. JBAS-7123

JBossCacheManager remains open to requests after shutdown

    Details

    • Similar Issues:
      Show 10 results 

      Description

      The work Paul Ferraro did with LockValve ensures that typically application activity cannot reach the clustered session manager after its stop() processing executes, but testing is showing the StandardHostValve can end up causing calls to findSession that end up blowing up with an NPE. That's the specific issue; in general, the methods in the Manager API need to be hardened to react properly if invoked during/after shutdown.

      Solution is to use the same semaphore that LockValve uses, but use it internally – add tryLock/release calls around the relevant code. Once stop() processing proceeds, tryLock will fail and the methods can react appropriately.

        Activity

        Hide
        Brian Stansberry
        added a comment -

        A relevant forum thread, including a possible workaround: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161647

        Show
        Brian Stansberry
        added a comment - A relevant forum thread, including a possible workaround: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161647
        Hide
        Brian Stansberry
        added a comment -

        Reopen to correct Fix Version

        Show
        Brian Stansberry
        added a comment - Reopen to correct Fix Version

          People

          • Assignee:
            Brian Stansberry
            Reporter:
            Brian Stansberry
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: