Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-838

make grouper ui/ws work with tomcat6 and tomcat7 and tomcat8

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.2.2.patch, 2.2.3, 2.3.0
    • 2.1.0
    • UI, WS
    • None

    Description

      Hello,

      On 07/31/2012 03:31 PM, Chris Hyzer wrote:
      > Sorry, Grouper does not work in the latest servlet container since for some reason they changed EL without making it backwards compatible... can you use the older version e.g. tomcat 6?

      Trying to use Grouper 2.1.1 UI with Apache Tomcat 7.0.29 I ran into
      the same problem reported by Dick Visser. After some tinkering the
      following change seems to fix the problem:

      diff $CATALINA_HOME/webapps/grouper/WEB-INF/jsp/dynamicTile.jsp

      {.01,}

      34c34
      < <!-- <c:out value="${uiException.class.simpleName}"/>:<c:out
      escapeXml="false" value="${uiException.message}"/> -->

      > <!-- <c:out value="#

      {uiException.class.simpleName}

      "/>:<c:out escapeXml="false" value="${uiException.message}"/> -->

      The hint came from reading this tutorial chapter on EL 2.2:
      The Java EE 6 Tutorial
      6. Expression Language
      Value and Method Expressions
      Method Expressions
      http://docs.oracle.com/javaee/6/tutorial/doc/bnahu.html#bnahz

      A very quick test exercising just a few UI features showed no other
      errors on screen or in grouper_ui.log.

      • Is this change compatible with JSP 2.1/EL 2.1? (i.e. can the same
        version of the file be used for Tomcat 6 and Tomcat 7?)
      • Would it be easy to generalize this change to fix all affected
        Grouper JSP files (i.e. those not compatible with EL 2.2)?
      • Alternatively, is it possible to force the use of JSP 2.1/EL 2.1 in
        Tomcat 7? (e.g. similar to the declaration of the Servlet version,
        2.4 vs 3.0, in web.xml).

      Best regards,
      Dominique

      Mr Dominique Petitpierre, user=Dominique.Petitpierre domain=unige.ch
      IT Division, University of Geneva, Switzerland

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: