2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Rafael Delgado - rafaeldp Error in jasper report? 2002-08-29 00:22 Hi, I using JAsperreport in IBM AS/400 with Tomcat 3.x. I using the file in the samples, in windows in application java is ok,but in tomcat in AS/400 not ok. The error dump tomcat is: =========================================== Error: 500 Location: /app1/letter.jsp Internal Servlet Error: javax.servlet.ServletException: dori/jasper/engine/fill/JRVerticalFiller java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:94) javax/servlet/ServletException.(Ljava/lang/Throwable;)V+5 (ServletException.java:161) org/apache/jasper/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+323 (JspServlet.java:508) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+62 (ServletWrapper.java:405) org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+199 (Handler.java:287) org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+139 (ServletWrapper.java:372) org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+248 (ContextManager.java:806) org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+15 (ContextManager.java:752) org/apache/tomcat/service/connector/JNIConnectionHandler.processConnection(JJ)V+249 (JNIConnectionHandler.java:186) org/apache/tomcat/service/JNIEndpoint.service(JJ)I+13 (JNIEndpoint.java:176) Root cause: java.lang.NoClassDefFoundError: dori/jasper/engine/fill/JRVerticalFiller java/lang/Throwable.(Ljava/lang/String;)V+4 (Throwable.java:94) dori/jasper/engine/fill/JRFiller.fillReport(Ldori/jasper/engine/JasperReport;Ljava/util/Map;Ldori/jasper/engine/JRDataSource;)Ldori/jasper/engine/JasperPrint;+0 (JRFiller.java:80) dori/jasper/engine/JasperFillManager.fillReport(Ldori/jasper/engine/JasperReport;Ljava/util/Map;Ldori/jasper/engine/JRDataSource;)Ldori/jasper/engine/JasperPrint;+0 (JasperFillManager.java:301) dori/jasper/engine/JasperFillManager.fillReport(Ljava/lang/String;Ljava/util/Map;Ldori/jasper/engine/JRDataSource;)Ldori/jasper/engine/JasperPrint;+0 (JasperFillManager.java:237) dori/jasper/engine/JasperRunManager.runReportToPdf(Ljava/lang/String;Ljava/util/Map;Ldori/jasper/engine/JRDataSource;)[b+0 (JasperRunManager.java:225) _0002fletter_0002ejspletter_jsp_3._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (_0002fletter_0002ejspletter_jsp_3.java:36) org/apache/jasper/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+1 (HttpJspBase.java:119) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) org/apache/jasper/servlet/JspServlet$JspCountedServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+8 (JspServlet.java:130) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) org/apache/jasper/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+53 (JspServlet.java:282) org/apache/jasper/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;Z)V+76 (JspServlet.java:429) org/apache/jasper/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+296 (JspServlet.java:500) javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+25 (HttpServlet.java:853) org/apache/tomcat/core/ServletWrapper.doService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+62 (ServletWrapper.java:405) org/apache/tomcat/core/Handler.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+199 (Handler.java:287) org/apache/tomcat/core/ServletWrapper.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+139 (ServletWrapper.java:372) org/apache/tomcat/core/ContextManager.internalService(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+248 (ContextManager.java:806) org/apache/tomcat/core/ContextManager.service(Lorg/apache/tomcat/core/Request;Lorg/apache/tomcat/core/Response;)V+15 (ContextManager.java:752) org/apache/tomcat/service/connector/JNIConnectionHandler.processConnection(JJ)V+249 (JNIConnectionHandler.java:186) org/apache/tomcat/service/JNIEndpoint.service(JJ)I+13 (JNIEndpoint.java:176) Why? Thanks. By: Gregory A. Swarthout - gswarthout RE: Error in jasper report? 2003-05-15 13:04 Same error for me, get it even with headless mode on. Solution? By: Edivaldo - emarques RE: Error in jasper report? 2003-07-07 11:13 Hello. We used OC4J / java 1.3 and we have the same problem, when using the examples of the webapp. Now when I use the 1.4.1 other error message appears: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory. I am almost giving up... if they have some idea, I thank. By: Teodor Danciu - teodord RE: Error in jasper report? 2003-07-07 12:13 Hi, The first problem came from the fact that you probably did not have X-server installed on your Unix/Linux system and neither Xvbf or JDK1.4.x with -Djava.awt.headless=true. Now that you switched to JDK1.4.x, you problably have the headless mode on and the error disappeared. The new error come from the fact that the required Jakarta Common Logging library is missing from you classpath. The jars are supplied with the JasperReports main distribution. Just add them to your classpath. I hope this helps. Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now