OpenJPA
  1. OpenJPA
  2. OPENJPA-1302

Ehcache product derivation isn't detected when running in WebSphere

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 1.1.0, 1.2.1, 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: lib
    • Labels:
      None
    • Environment:
      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

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development