0 Replies Latest reply on Feb 17, 2002 7:26 PM by garymarsh

    JBoss 3.0 Deployment Problem

    garymarsh

      Hi;

      I am using JBoss 3.0 alpha and I seem to be deploying correctly but when I hit the browser for my application
      I get the following error:

      [15:30:45,703,Jetty] WARNING: Servlet Exception for /paye/clientPage.jsp
      org.apache.jasper.JasperException: JASPER: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
      C:\DOCUME~1\gmarsh\LOCALS~1\Temp\JettyContext48053.tmp\_0002fclientPage_0002ejspclientPage_jsp_0.java:68: Class com.paye.payroll.ClientJB not found.
      com.paye.payroll.ClientJB client = null;
      ^
      C:\DOCUME~1\gmarsh\LOCALS~1\Temp\JettyContext48053.tmp\_0002fclientPage_0002ejspclientPage_jsp_0.java:71: Class com.paye.payroll.ClientJB not found.
      client= (com.paye.payroll.ClientJB)
      ^
      C:\DOCUME~1\gmarsh\LOCALS~1\Temp\JettyContext48053.tmp\_0002fclientPage_0002ejspclientPage_jsp_0.java:76: Class com.paye.payroll.ClientJB not found.
      client = (com.paye.payroll.ClientJB) Beans.instantiate(this.getClass().getClassLoader(), "com.paye.payroll.ClientJB");
      ^
      3 errors, 1 warning

      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:249)
      at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:448)
      at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
      at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:419)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:151)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:163)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:307)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:380)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:488)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
      at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1040)
      at org.mortbay.http.HandlerContext.handle(HandlerContext.java:995)
      at org.mortbay.http.handler.ResourceHandler.handleGet(ResourceHandler.java:361)
      at org.mortbay.http.handler.ResourceHandler.handle(ResourceHandler.java:264)
      at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1040)
      at org.mortbay.http.HandlerContext.handle(HandlerContext.java:995)
      at org.mortbay.http.HttpServer.service(HttpServer.java:683)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:732)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:889)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:746)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:146)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
      at org.mortbay.util.ThreadPool$PoolThreadRunnable.run(ThreadPool.java:609)
      at java.lang.Thread.run(Thread.java:536)
      getRootCause():



      The class that the JSP compiler is complaining that it can not find is deployed in a jar in jboss-3.0.0alpha\deploy\Default\Paye_Payroll.ear\ejb1004.jar.

      What must I do to make this jar file visible to the Jetty JSP Compiler?

      Thanks,

      Gary