0 Replies Latest reply on Jan 3, 2005 5:18 PM by Dave Pasiuk

    "Unable to compile class for JSP" after configuring clusters

    Dave Pasiuk Newbie

      Hello, Friends,

      I am running JBoss 3.2.6 with Tomcat 5+Apache 1.3.31 on Solaris with JDK 1.4.2_05. I have successfully run my application in single server mode (i.e., pre-clustering, running under the "default" server). I configured clusters as described in Edition 6 of JBoss Clustering by Labourey + Burke, under the "all" server, and it starts up fine, with or without my application in the "deploy" directory.

      The trouble happens when I try to access my application (named Motorprise). I get the errors below, which I have seen posted elsewhere in these forums, but no answers have helped me (there haven't been many replies to these errors). Anyone have a clue?

      Here's what I get in the browser. I get similar errors in the console, so if anyone wants to see that stack trace, please let me know:

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

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

      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:137: _jspx_meth_dsp_setvalue_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_setvalue_0(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:144: _jspx_meth_dsp_droplet_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_droplet_0(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:148: _jspx_meth_dsp_importbean_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_importbean_0(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:151: _jspx_meth_dsp_importbean_1(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_importbean_1(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:154: _jspx_meth_dsp_importbean_2(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_importbean_2(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:157: _jspx_meth_dsp_importbean_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_importbean_3(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:163: _jspx_meth_dsp_include_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.PageTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_include_0(_jspx_th_dsp_page_0, _jspx_page_context))
      ^


      etc.
      etc.
      etc...


      Generated servlet error:
      /work/dpasiuk/jboss/jboss-3.2.6/server/all/work/jboss.web/localhost/Motorprise/org/apache/jsp/index_jsp.java:1640: _jspx_meth_dsp_a_3(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.index_jsp cannot be applied to (atg.taglib.dspjsp.OparamTag,javax.servlet.jsp.PageContext)
      if (_jspx_meth_dsp_a_3(_jspx_th_dsp_oparam_10, _jspx_page_context))
      ^
      63 errors



      org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
      org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
      org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.tc5.JvmRouteFilter.doFilter(JvmRouteFilter.java:111)
      atg.servlet.pipeline.TailPipelineServlet.service(TailPipelineServlet.java:90)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:202)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:206)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.droplet.DropletEventServlet.service(DropletEventServlet.java:452)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.projects.b2bstore.servlet.CheckSessionExpiration.service(CheckSessionExpiration.java:217)
      atg.projects.b2bstore.servlet.WACheckSessionExpiration.service(WACheckSessionExpiration.java:211)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2444)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:191)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:128)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:594)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:169)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:461)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.projects.b2bstore.servlet.SetCurrentLocation.service(SetCurrentLocation.java:162)
      atg.projects.b2bstore.servlet.WASetCurrentLocation.service(WASetCurrentLocation.java:177)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:431)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.security.SecurityDomainServlet.service(SecurityDomainServlet.java:220)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:469)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:370)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:91)
      atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:116)
      atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1049)
      atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:738)
      atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:231)
      atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:221)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)


      Thank you for reading this far!