1 Reply Latest reply on Jan 8, 2009 5:45 AM by jaikiran

    Unable to compile class for JSP after deploying EAR update

    sbalexander

      Using JBoss 4.2.x, if I build an EAR file on my Mac OSX workstation and upload it to my production Linux web server's deploy directory, there is a seemingly random chance per .JSP page that going to that page will generate an "Unable to compile class for JSP" exception.

      If I keep stopping and restarting the production JBoss server, eventually all the JSP pages work, but this is a complete nightmare for reliable deployment.

      I can't find anything on the internet describing this problem. Currently using JBoss 4.2.3 on all machines. Thought the problem might be time zone related so I set my workstation to the same time zone as the production machines, but still didn't fix the problem.


      Here is a typical error:
      java.io.FileNotFoundException: no such file: /usr/java/jboss-4.2.3.GA/server/default/work/jboss.web/localhost/_/org/apache/jsp/Web/overview_jsp.class