Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Almost there

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Almost there


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Dominique Petitpierre <>
  • Cc: Dick Visser <>, "" <>
  • Subject: RE: [grouper-users] Almost there
  • Date: Wed, 15 Aug 2012 01:47:02 +0000
  • Accept-language: en-US

I don’t think it will work in tomcat6, but there are other things we can do
to make it work. In this case, it is an HTML comment of an exception, we can
probably just remove it for security reasons. :) We will do something for
Grouper 2.2 to accommodate tomcat 7... in the meantime, if you want to change
that file and run in tomcat 7, go for it, and let us know if there are other
problems... :)

Thanks,
Chris

-----Original Message-----
From: Dominique Petitpierre
[mailto:]

Sent: Tuesday, August 14, 2012 7:39 PM
To: Chris Hyzer
Cc: Dick Visser;

Subject: Re: [grouper-users] Almost there

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



Archive powered by MHonArc 2.6.16.

Top of Page