Opened 16 years ago

Closed 16 years ago

#1081 closed enhancement (fixed)

Document how to configure Tomcat 6.0.18

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: BASE 2.8
Component: documentation Version:
Keywords: Cc:

Description

Tomcat 6.0.18 seems to use a stricter mode for parsing JSP files that what has been used in previous versions. This causes BASE to fail on the login page:

org.apache.jasper.JasperException: /include/menu.jsp(148,18) 
Attribute value numItems + ". " + shortName is quoted with " 
which must be escaped when used within the value
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
at org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301)
...

The workaround is to disable the strict parsing mode. This is done by setting a system property in CATALINA_OPTS:

export CATALINA_OPTS="-Xmx500m 
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"

Change History (2)

comment:1 by Nicklas Nordborg, 16 years ago

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:2 by Nicklas Nordborg, 16 years ago

Resolution: fixed
Status: assignedclosed

(In [4381]) Fixes #1081: Document how to configure Tomcat 6.0.18

Note: See TracTickets for help on using tickets.