Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-2272

EL functions defined in modules are not accessible

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      From Tomcat 6.0.30 onwards, the Catalina class loader replaces the OpenmrsClassLoader before JSP files are processed. This means that attempts to use EL functions defined in modules throws ClassNotFoundException

      OpenmrsFilter tries to rectify this by handling JSP forwards, but as its a OncePerRequestFilter it doesn't get called again Catalina makes the class loader switch

      Patch attached which defines a new filter which runs on all JSP forward requests to set the Openmrs class loader as the context class loader

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rowanseymour Rowan Seymour [X] (Inactive)
              Reporter:
              rowanseymour Rowan Seymour [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: