I tracked down what the problem is (it also affects the latest versions of
Tomcat 5.5). Apparently Tomcat changed the way they handle quotation marks
in JSP pages to use strict checking:
https://issues.apache.org/bugzilla/show_bug.cgi?id=45015

As a temporary fix you can set the JAVA_OPTS to something like this:
export
JAVA_OPTS="-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"
and then startup Tomcat and it should work.

If you could file a bug report for this also, that would be great.  This is
like the third time Tomcat has changed something on us that used to work...

Thanks
-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Wed, Sep 10, 2008 at 3:26 PM, Kim Cary <[EMAIL PROTECTED]> wrote:

> Hi all,
>
> Its not that I can't find this path for the demo app:
>
> http://localhost:8080/cas-server-webapp-3.3/login
>
> It's that when it runs, I get this error in the browser (and NO other
> output):
>
> org.apache.jasper.JasperException: /WEB-INF/view/jsp/default/ui/
> casLoginView.jsp(48,35) Attribute value request.getQueryString() ==
> null ? "" : request.getQueryString().replaceAll("&locale=([A-Za-z][A-
> Za-z]_)?[A-Za-z][A-Za-z]|^locale=([A-Za-z][A-Za-z]_)?[A-Za-z][A-Za-
> z]", "") is quoted with " which must be escaped when used within the
> value <it appears truncated>
>
> Mac OS X 10.5.4
>
> Output from "java -version":
> java version "1.5.0_13"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
> b05-237)
> Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
>
> Running server tells me: Apache Tomcat Version 6.0.18
>
> Please help me figure out what is missing or misconfigured. I omitted
> the catalina.out log this time, as that seemed messy & confused the
> issue, but I'll happily send it to anyone who needs it to help [kim
> dot cary a-t peperdine dot edu].
>
> Thanks for reading!
>
> KC
>
> Dr. Kim Cary, CISSP
> Pepperdine University
> Information Security Officer
> 310 506 6655
>
> p.s. Happy to file the documentation bug (INSTALL.TXT has the wrong
> instructions), I'll do that ASAP after this.
>
>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to