• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

cewolf problem in jboss

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I also have this problem ! Really nobody knows how to solve it ?
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message above seems incomplete. Post the error message you get and the lines of code it references.
 
Jan Ivanov
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


It occurs when I use cewolf tag
 
Ulf Dittmer
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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?
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!