1 Reply Latest reply on Dec 15, 2005 4:18 AM by Steven Peleman

    problem work folder

    Steven Peleman Newbie

      What does the folder server/default/deploy/work folder stands for???

      I ran an application on my JBoss4.0.1, now I installed the Jboss again (different location) and always get the following error when running the application:

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

      Generated servlet error:
      C:\jb\jboss-4.0.1sp1\server\default\work\jboss.web\localhost\vdp\org\apache\jsp\html\content\main_jsp.java:142: handlePageException(java.lang.Exception) in javax.servlet.jsp.PageContext cannot be applied to (java.lang.Throwable)
      if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);


      If I copy the work-folder from my first JBoss to my second JBoss, it all works fine. For some reason the content of the work directoy isn't generated properly. Any suggestions?

        • 1. Re: problem work folder => servlet.jar error
          Steven Peleman Newbie

          After 3 days I finally figured out what the problem is.

          1) The work folder is the folder where the compiled jsp pages to java classes are placed.
          2)Because JBoss can't compile the jsp - pages, this folder stays empty, and if I copied the compiled files this works of course, but isn't a solution.
          3) The reason JBoss won't compile this pages was because I was using an old servlet.jar file, I deleted this file from the lib-directory, and everything runs fine.