3 Replies Latest reply on Nov 19, 2005 1:16 PM by Darran Lofthouse

    JspCompiler issue with JBoss-3.2.3 running on Java 1.5.0_04

    Sohil Shah Master

      Trying to compile Jsps on JBoss-3.2.3 embedded Tomcat 4.1.29 on Java 1..5.0_04,

      Here is the trace:

      2005-11-17 22:44:58,546 ERROR [org.jboss.web.localhost.Engine] ApplicationDispatcher[/tomcat-issue] Servlet.service() for servlet jsp threw 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
       [javac] error: error reading C:\jboss3\server\default\tmp\deploy\tmp50222properties-service.xml; error in opening zip file
       [javac] 1 error
      
      
      
       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)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
       at TomcatIssueServlet.doGet(Unknown Source)
      


      It works fine with Java 1.4.2_09. Jsps also compile fine with a standalone version of Tomcat-4.1.29.

      Thanks
      Sohil