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

Ehcache product derivation isn't detected when running in WebSphere

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3, 1.1.0, 1.2.1, 2.0.0-M2
    • 2.0.0-M3
    • lib
    • None
    • Win XP, WAS V7.0.0.5

    Description

      I tried to configure Ehcache using the instructions documented on their website [1] and found that using the 'ehcache' alias (for openjpa.QueryCache and openjpa.DataCacheManager) does not work in WAS. It does work when running in a JSE environment.

      After digging around for awhile I found that when I added ehcache as an application shared library, those classes were not available to the static initializer in org.apache.openjpa.lib.conf.ProductDerivations. Since the ehcache product derivation wasn't found, the 'ehcache' alias wasn't registered.

      [1] http://ehcache.org/documentation/openjpa_provider.html

      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: