cewolf problem in jboss

manj
2005-03-09
2013-01-13
  • manj
    manj
    2005-03-09

    hi,

       I use the cewolf tag library in my jsp page to display charts/graphs of reports. It works perfectly in tomcat5.0. but when i execute the same page in jboss4.0, exceptions are thrown. Sample code -

    <cewolf:chart id="verticalBar3D" title="Service Usage Report" type="verticalBar3D" xaxislabel="Services" yaxislabel="Number of hits" backgroundimagealpha="100">
    <cewolf:colorpaint color="#FFFFFF"/>
      <cewolf:data>
          <cewolf:producer id="verticalBar3D" />
      </cewolf:data>
    </cewolf:chart>
    <cewolf:img chartid="verticalBar3D" renderer="cewolf" width="600" height="350"/>

    The following exceptions are thrown:

    15:13:17,866 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP

    Generated servlet error:
    E:\jboss4\server\default\work\jboss.web\localhost\mc\org\apache\jsp\ServiceUsageReport_jsp.java:697: _jspx_meth_cewolf_colorpaint_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext)
    g.apache.jsp.ServiceUsageReport_jsp cannot be applied to (de.laures.cewolf.taglib.tags.SimpleChartTag,javax.servlet.jsp.PageContext)
            if (_jspx_meth_cewolf_colorpaint_0(_jspx_th_cewolf_chart_0, _jspx_page_context))
                ^

    Generated servlet error:
    E:\jboss4\server\default\work\jboss.web\localhost\mc\org\apache\jsp\ServiceUsageReport_jsp.java:701: _jspx_meth_cewolf_data_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in or
    he.jsp.ServiceUsageReport_jsp cannot be applied to (de.laures.cewolf.taglib.tags.SimpleChartTag,javax.servlet.jsp.PageContext)
            if (_jspx_meth_cewolf_data_0(_jspx_th_cewolf_chart_0, _jspx_page_context))
                ^

    Generated servlet error:
    E:\jboss4\server\default\work\jboss.web\localhost\mc\org\apache\jsp\ServiceUsageReport_jsp.java:746: _jspx_meth_cewolf_producer_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) i
    apache.jsp.ServiceUsageReport_jsp cannot be applied to (de.laures.cewolf.taglib.tags.DataTag,javax.servlet.jsp.PageContext)
            if (_jspx_meth_cewolf_producer_0(_jspx_th_cewolf_data_0, _jspx_page_context))
                ^
    3 errors

            at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
            at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
            at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
            at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
            at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
            at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
            at org.apache.jsp.Console_jsp._jspService(Console_jsp.java:387)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
            at java.lang.Thread.run(Thread.java:534)