Hi everyone,

This is to let you know that I found an issue which prevents the test
portlets bundled with Pluto (trunk, as of 20081101 which is when I
checked it out) to run on Tomcat versions higher than 6.0.16. As I
think I know the cause I am sending the email directly to the
developers list.

A recent fix in Tomcat, described at
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015 has tightened
some restrictions on jsp tags to better conform to the JSP spec. If a
malformed jsp tag is used an error similar to the following is
obtained:

SEVERE: org.apache.jasper.JasperException: /jsp/test_results.jsp(25,0)
/jsp/navigation.inc(35,38) Attribute value  request.isSecure() ?
"True" : "False"  is quoted with " which must be escaped when used
within the value
javax.portlet.PortletException: org.apache.jasper.JasperException:
/jsp/test_results.jsp(25,0) /jsp/navigation.inc(35,38) Attribute value
 request.isSecure() ? "True" : "False"  is quoted with " which must be
escaped when used within the value

I guess some pages in the test portlets contain tags with attribute
values which are not properly escaped when using quotes. I don't know
which pages exactly, I could not get around to investigate that.
I have noticed Pluto has been tested with Tomcat 6.0.13, I have tested
it with Tomcat 6.0.18 and downgraded to 6.0.16 when I got this
message, which solved my problem. The bugzilla entry I linked above
states the fix has been introduced in Tomcat 5.5.27 and Tomcat 6.0.17
onwards (though I found no 6.0.17, I just used 6.0.18).

Regards,

Matt

PS: I did not want to create a JIRA on this before asking...

Reply via email to