From: markt
Date: Sun, 5 Jul 2009 14:24:43 +0000 (+0000)
Subject: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39089
X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=de2acca7662ae424234863d75d4b61c69071febc;p=tomcat7.0
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=39089
Add a know issues section to the Jasper docs detailing the error described in 39089 and providing some possible workarounds
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@791254 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index 47587c4c8..9c2109a22 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -200,6 +200,25 @@ argument to catalina.sh.
+
+
+As described in
+
+bug 39089, a known JVM issue,
+
+bug 6294277, may cause a
+java.lang.InternalError: name is too long to represent exception
+when compiling very large JSPs. If this is observed then it may be worked around
+by using one of the following:
+
+- reduce the size of the JSP
+- disable SMAP generation and JSR-045 support by setting
+
suppressSmap to true.
+
+
+
+
+
The main JSP optimization which can be done is precompilation of JSPs.