Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-305

No file name information in detail error when compiling the java file

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: JBossWeb-7.4.0.GA, JBossWeb-7.5.0.GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      The following log config can clarify the file of the compilation failure:

                  <logger category="org.apache.jasper.compiler">
                      <level name="DEBUG"/>
                  </logger>
                  <logger category="org.apache.jasper.compiler.SmapUtil$SDEInstaller">
                      <level name="INFO"/>
                  </logger>
      
      Show
      The following log config can clarify the file of the compilation failure: <logger category= "org.apache.jasper.compiler" > <level name= "DEBUG" /> </logger> <logger category= "org.apache.jasper.compiler.SmapUtil$SDEInstaller" > <level name= "INFO" /> </logger>
    • Bugzilla Update:
      Perform

      Description

      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:

      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]
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                aogburn Aaron Ogburn
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: