2 Replies Latest reply on Apr 14, 2005 2:52 AM by Lim Ivy

    tomcat 5 + jboss 3.2 problem

    avkxx Newbie

      I've compiled jbossweb-tomcat50.sar and copied it to /var/lib/jboss/<server-name>/deploy directory instead of jbossweb-tomcat41.sar

      When I'm requesting some jsp from the server, I get:

      ------------------------------
      org.apache.jasper.JasperException: Unable to compile class for JSP

      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:558)

      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)


      root cause

      java.io.FileNotFoundException: /usr/share/jboss/server/<server-name>/work/jboss.web/localhost/skynet/org/apache/jsp/explorer_jsp.java (No such file or directory)
      java.io.FileOutputStream.open(Native Method)
      java.io.FileOutputStream.(FileOutputStream.java:176)
      java.io.FileOutputStream.(FileOutputStream.java:70)
      org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)

      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)

      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)

      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      --------------------------------------------------

      Service tomcat41 have taken such files from /var/tmp/work/MainEngine/localhost

      Does anybody know, where can I change the directory?