Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5615

Synchronization mutex for clustered environments

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • JBossAS-4.2.2.GA
    • None
    • None

      Quote from http://www.jboss.com/index.html?module=bb&op=viewtopic&t=136590 : "they'll need to be thread safe or have access to them synchronized".

      There's no object to synchronize against: SessionBasedClusteredSession doesn synchronization against itself:
      public void writeExternal(ObjectOutput out) throws IOException
      {
      synchronized (this)

      { ... }

      }

      but application developers see the wrapped one (instance of StandardSessionFacade), so synchronizing against session object does not prevent from concurrency errors

              smarlow1@redhat.com Scott Marlow
              mikalaj@gmail.com Nick Belaevski (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: