1 Reply Latest reply on Jul 14, 2004 9:34 AM by cuoz

    org.apache.jasper.JasperException: Unable to compile class f

    a_kretzschmar

      Hi,

      the deployment of the package worked properly, but i now try to start a jsp file. Always the same error message appears.

      HTTP Status 500 -
      
      --------------------------------------------------------------------------------
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: Unable to compile class for JSP
      
      An error occurred at line: -1 in the jsp file: null
      
      Generated servlet error:
       [javac] Compiling 1 source file
      
      
      
       at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:130)
       at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:293)
       at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:353)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
      
      


      Thanks for your help

        • 1. Re: org.apache.jasper.JasperException: Unable to compile cla

          Are you by chance running JBoss as a non-prvilidged user on Linux? I have seen this problem mostly on our Debian systems. We found that the jboss directory needs to be chown'd to the user that jboss is running as. I think the debug output will show the exact file it is trying to write (and failing) and you shoul d be able to see for sure what directory it's using.

          Hope that helps.