]
Remy Maucherat commented on JBWEB-305:
--------------------------------------
Thanks for the patching. However, just wanted to point out that only branches 7.4 and 7.5
are actually used, the other two are abandoned.
No file name information in detail error when compiling the java
file
----------------------------------------------------------------------
Key: JBWEB-305
URL:
https://issues.jboss.org/browse/JBWEB-305
Project: JBoss Web
Issue Type: Bug
Affects Versions: JBossWeb-7.4.0.GA, JBossWeb-7.5.0.GA
Reporter: Aaron Ogburn
Assignee: Remy Maucherat
Priority: Minor
JBossWeb does not have a fix to
https://issues.apache.org/bugzilla/show_bug.cgi?id=54466.
Helpful file name information can be left off of compilation errors, for example:
{code}
ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/helloworld2].[jsp]]
(http-/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet jsp threw exception:
org.apache.jasper.JasperException: JBWEB004062: Unable to compile class for JSP:
JBWEB004061: An error occurred at line: 32 in the generated java file
The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the
65535 bytes limit
JBWEB004211: Stacktrace:
at
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:69)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
{code}