Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1559

DataCacheManager initialization isn't thread safe.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • datacache
    • None

    Description

      When running normally, some of OpenJPA configuration is lazily loaded and is not thread safe. Normally this isn't an issue if one thread has a different configured object than another.

      Today I came across a problem when using the DataCache EvictionScheduler that multiple scheduler threads can get created and kicked off.

      Attachments

        Activity

          People

            curtisr7 Richard G. Curtis
            curtisr7 Richard G. Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: