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

EL functions defined in modules are not accessible

    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

        Gliffy Diagrams

          Attachments

            Issue Links

              Attachments-Category-Modification

                Activity

                  People

                  • Assignee:
                    rowanseymour Rowan Seymour
                    Reporter:
                    rowanseymour Rowan Seymour
                    Watchers:
                    Ben Wolfe, Daniel Kayiwa, Rowan Seymour
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved: