aspose file tools*
The moose likes JBoss/WildFly and the fly likes cewolf problem in jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "cewolf problem in jboss" Watch "cewolf problem in jboss" New topic
Author

cewolf problem in jboss

Prakash Chicka
Greenhorn

Joined: Mar 09, 2005
Posts: 23
hey guys,

I have a problem here. I used the cewolf tag library to display graphs/charts etc in my jsp page. It works perfectly in Tomcat. But when i execute the same using Jboss 3.2.5 & 4.0, i get the following exceptions -

14:11:45,225 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\ServiceUsag eReport_jsp.java:697: _jspx_meth_cewolf_colorpaint_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.js 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\ServiceUsag eReport_jsp.java:701: _jspx_meth_cewolf_data_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.Page 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\ServiceUsag eReport_jsp.java:746: _jspx_meth_cewolf_producer_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp. if (_jspx_meth_cewolf_producer_0(_jspx_th_cewolf_data_0, _jspx_page_context)) ^ 3 errors at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava: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(ApplicationFil terChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:157) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav a:704) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher. java:590) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja va: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(ApplicationFil terChain.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(ApplicationFil terChain.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.j ava:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal ve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:104) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve. java:66) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:102) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociati onValve.java:150) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:102) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava: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.j ava:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10 9) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j ava: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.processConnecti on(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:6 83) at java.lang.Thread.run(Thread.java:534)

Can somebody help on this?
Thanx & regards,
Prakash
Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19
I also have this problem ! Really nobody knows how to solve it ?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
The error message above seems incomplete. Post the error message you get and the lines of code it references.
Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19
org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\jboss-4.0.1\server\default\work\jboss.web\localhost\cewolftest\org\apache\jsp\cewolf_jsp.java:121: _jspx_meth_cewolf_data_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.cewolf_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:
C:\jboss-4.0.1\server\default\work\jboss.web\localhost\cewolftest\org\apache\jsp\cewolf_jsp.java:148: _jspx_meth_cewolf_producer_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.cewolf_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))
^


Generated servlet error:
Note: C:\jboss-4.0.1\server\default\work\jboss.web\localhost\cewolftest\org\apache\jsp\cewolf_jsp.java uses unchecked or unsafe operations.


Generated servlet error:
Note: Recompile with -Xlint:unchecked for details.
2 errors


and then there is stackTrace from the first post
Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19


It occurs when I use cewolf tag
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42951
    
  72
Strange. DataTag and SimpleChartTag implement JspTag, so I'm not sure what the error message is trying to communicate. Maybe a JSp version mismatch? The cewolf TLD specifies JSP 1.2.
Mathew Mani
Greenhorn

Joined: May 03, 2010
Posts: 6
Jan Ivanov wrote:I also have this problem ! Really nobody knows how to solve it ?

Dear Friend, I too have the same problem. When I use tomcat to render chart, It works perfectly. But when i use jboss server, It does n't work.
Could any one help me?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10290
    
168

Mathew,

Welcome to JavaRanch

This is a 4 year old thread. You'll have better chances of getting your question answered, if you create a new thread along with the specific details about your issue.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cewolf problem in jboss