Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-7533

KualiPropertyMessageResources does not cache messages

    Details

    • Type: Bug Fix Bug Fix
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.1, 2.1
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Similar issues:
      KULRICE-8327Implement caching for Message Service
      KULRICE-8577Cache Manager: Intended Message not found
      KULRICE-8485Messages cached incorrectly in the js after arg evaluation
      KULRICE-12363Make priority of KIM cache messages configurable
      KULRICE-12457KRMS error and cache flush messages not appearing right
      KULRICE-2452Implement cluster-aware caching on KNS System Parameters
      KULRICE-5100StyleServiceImpl.getStyle should perform caching of styles
      KULRICE-12485Adding/Removing a role doesn't take effect even if you clear the kim cache
      KULRICE-3483Reduce number of retries on cache messages from 3 to 1
      KULRICE-13319Kew note issue: Caching of route header value causes save, delete functions to work incorrectly
    • Rice Module:
      KNS
    • Application Requirement:
      KC
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      KualiPropertyMessageResources.loadLocale(..) removes the localeKey from the loaded locales. This makes it so that message resources are loaded upon each call to PropertyMessageResources methods. This is bad for performance, and my logs are littered with statements like:

      2012-06-22 12:01:46,109 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/krad/ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,109 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/krad/KRAD-ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,109 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/kew/ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,125 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/ksb/ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,125 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/kim/ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,125 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/krms/ApplicationResources_en_US.properties Not Found.
      2012-06-22 12:01:46,125 [ajp-apr-8013-exec-2] u:269453/d: WARN  org.apache.struts.util.PropertyMessageResources -   Resource org/kuali/rice/core/web/cache/CacheApplicationResources_en_US.properties Not Found.
      

        Activity

        Hide
        Jessica Coltrin (Inactive) added a comment -

        assigning to 2.1.1 for DM review.

        Show
        Jessica Coltrin (Inactive) added a comment - assigning to 2.1.1 for DM review.
        Hide
        Jessica Coltrin (Inactive) added a comment -

        moving to 2.1.2

        Show
        Jessica Coltrin (Inactive) added a comment - moving to 2.1.2
        Hide
        Jessica Coltrin (Inactive) added a comment -

        moving all issues not Blocker or Critical for 2.1.2 to the backlog.

        Show
        Jessica Coltrin (Inactive) added a comment - moving all issues not Blocker or Critical for 2.1.2 to the backlog.
        Hide
        Chris Denne added a comment -

        Note, we have a KC implementer at WVU that is also seeing this issue.

        Show
        Chris Denne added a comment - Note, we have a KC implementer at WVU that is also seeing this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Geis
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Structure Helper Panel