Jetspeed 2
  1. Jetspeed 2
  2. JS2-1033

Deadlock during PAM initialization between java prefs and database row locks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.4, 2.2.1
    • Component/s: Portlet Registry
    • Labels:
      None
    • Environment:
      Multiple Core Linux x86-64
      Jetspeed 2.1.3
      Initial Deployment

      Description

      Deadlock occurs between java prefs and database row locks when root PAM preferences entries are included in multiple write transactions in initial system startup when multiple PAs are registering concurrently.

        Activity

        Hide
        Randy Watler added a comment -

        Issue resolved by initializing empty registry with root preferences for portlet applications and entities.

        Also modified initialization of preferences provider to ensure preloading was done within transaction scope. API modification was made to distinguish between init() and preload() functionality and transaction requirements.

        SVN commit: 784908

        Show
        Randy Watler added a comment - Issue resolved by initializing empty registry with root preferences for portlet applications and entities. Also modified initialization of preferences provider to ensure preloading was done within transaction scope. API modification was made to distinguish between init() and preload() functionality and transaction requirements. SVN commit: 784908
        Hide
        Randy Watler added a comment -

        Changes to preload() and init() API should be forward ported to 2.2.X trunk.

        Show
        Randy Watler added a comment - Changes to preload() and init() API should be forward ported to 2.2.X trunk.
        Hide
        Randy Watler added a comment -

        Ported transactional preload() API to 2.2.X.

        SVN commit: 785930

        Show
        Randy Watler added a comment - Ported transactional preload() API to 2.2.X. SVN commit: 785930

          People

          • Assignee:
            Randy Watler
            Reporter:
            Randy Watler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development