Author: markt
Date: Sun Jul  5 14:24:43 2009
New Revision: 791254

URL: http://svn.apache.org/viewvc?rev=791254&view=rev
Log:
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

Modified:
    tomcat/container/tc5.5.x/webapps/docs/jasper-howto.xml
    tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml
    tomcat/trunk/webapps/docs/jasper-howto.xml

Modified: tomcat/container/tc5.5.x/webapps/docs/jasper-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/webapps/docs/jasper-howto.xml?rev=791254&r1=791253&r2=791254&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/webapps/docs/jasper-howto.xml (original)
+++ tomcat/container/tc5.5.x/webapps/docs/jasper-howto.xml Sun Jul  5 14:24:43 
2009
@@ -181,6 +181,25 @@
 
 </section>
 
+<section name="Known issues">
+
+<p>As described in
+<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=39089";>
+bug 39089</a>, a known JVM issue,
+<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294277";>
+bug 6294277</a>, may cause a
+<code>java.lang.InternalError: name is too long to represent</code> exception
+when compiling very large JSPs. If this is observed then it may be worked 
around
+by using one of the following:
+<ul>
+<li>reduce the size of the JSP</li>
+<li>disable SMAP generation and JSR-045 support by setting
+<code>suppressSmap</code> to <code>true</code>.</li>
+</ul>
+</p>
+
+</section>
+
 <section name="Production Configuration">
 
 <p>The main JSP optimization which can be done is precompilation of JSPs. 
However,

Modified: tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml?rev=791254&r1=791253&r2=791254&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml Sun Jul  5 14:24:43 2009
@@ -200,6 +200,25 @@
 
 </section>
 
+<section name="Known issues">
+
+<p>As described in
+<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=39089";>
+bug 39089</a>, a known JVM issue,
+<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294277";>
+bug 6294277</a>, may cause a
+<code>java.lang.InternalError: name is too long to represent</code> exception
+when compiling very large JSPs. If this is observed then it may be worked 
around
+by using one of the following:
+<ul>
+<li>reduce the size of the JSP</li>
+<li>disable SMAP generation and JSR-045 support by setting
+<code>suppressSmap</code> to <code>true</code>.</li>
+</ul>
+</p>
+
+</section>
+
 <section name="Production Configuration">
 
 <p>The main JSP optimization which can be done is precompilation of JSPs.

Modified: tomcat/trunk/webapps/docs/jasper-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jasper-howto.xml?rev=791254&r1=791253&r2=791254&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jasper-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jasper-howto.xml Sun Jul  5 14:24:43 2009
@@ -200,6 +200,25 @@
 
 </section>
 
+<section name="Known issues">
+
+<p>As described in
+<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=39089";>
+bug 39089</a>, a known JVM issue,
+<a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6294277";>
+bug 6294277</a>, may cause a
+<code>java.lang.InternalError: name is too long to represent</code> exception
+when compiling very large JSPs. If this is observed then it may be worked 
around
+by using one of the following:
+<ul>
+<li>reduce the size of the JSP</li>
+<li>disable SMAP generation and JSR-045 support by setting
+<code>suppressSmap</code> to <code>true</code>.</li>
+</ul>
+</p>
+
+</section>
+
 <section name="Production Configuration">
 
 <p>The main JSP optimization which can be done is precompilation of JSPs.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to