Skip to main content



      Home
Home » Archived » BIRT » error to show report through Tomcat5.0.27
error to show report through Tomcat5.0.27 [message #100420] Mon, 19 December 2005 00:26 Go to next message
Eclipse UserFriend
Hi,
After installation of Birt 2.0 M3 and creating a report using it when I
want to see the report through Tomcat the following error message appear:

type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Cannot allocate servlet instance for path
/learnity/servlet/report.BirtReport
org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:388)
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause
java.lang.NoClassDefFoundError:
org/eclipse/birt/report/engine/api/EngineException
java.lang.Class.getDeclaredConstructors0(Native Method)
java.lang.Class.privateGetDeclaredConstructors(Class.java:23 28)
java.lang.Class.getConstructor0(Class.java:2640)
java.lang.Class.newInstance0(Class.java:321)
java.lang.Class.newInstance(Class.java:303)
org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:369)
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

How can I solve this problem
Re: error to show report through Tomcat5.0.27 [message #100847 is a reply to message #100420] Tue, 20 December 2005 12:32 Go to previous messageGo to next message
Eclipse UserFriend
Did you install the birt.war or the Web Viewer Example directory?

Jason Weathersby
BIRT PMC

"Partha Pratim Dutta" <duttpartha@gmail.com> wrote in message
news:0a6b726cf57e331a6e2e9ea2033785bf$1@www.eclipse.org...
> Hi,
> After installation of Birt 2.0 M3 and creating a report using it when I
> want to see the report through Tomcat the following error message appear:
>
> type Exception report
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
> exception
> javax.servlet.ServletException: Cannot allocate servlet instance for path
> /learnity/servlet/report.BirtReport
> org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:388)
> org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> root cause
> java.lang.NoClassDefFoundError:
> org/eclipse/birt/report/engine/api/EngineException
> java.lang.Class.getDeclaredConstructors0(Native Method)
> java.lang.Class.privateGetDeclaredConstructors(Class.java:23 28)
> java.lang.Class.getConstructor0(Class.java:2640)
> java.lang.Class.newInstance0(Class.java:321)
> java.lang.Class.newInstance(Class.java:303)
> org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:369)
> org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> How can I solve this problem
Re: error to show report through Tomcat5.0.27 [message #101089 is a reply to message #100847] Wed, 21 December 2005 07:49 Go to previous messageGo to next message
Eclipse UserFriend
I am solve this problem but another problem is there. The java program
(BirtReport.java) can not generate the pdf from rptdesign file.The error
appear in the tomcat is as follows:

Dec 21, 2005 6:28:04 PM org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 1703 Milliseconds.
Dec 21, 2005 6:28:07 PM
org.eclipse.birt.report.engine.api.impl.ReportEngineHelp
er openReportDesign
SEVERE: invalid design file
C:\jakarta-tomcat-5.0.27\webapps\learnity\report\new
_report.rptdesign
Report
C:/jakarta-tomcat-5.0.27/webapps/learnity/report/new_report. rptdesign not
found!
Re: error to show report through Tomcat5.0.27 [message #101185 is a reply to message #101089] Wed, 21 December 2005 12:10 Go to previous messageGo to next message
Eclipse UserFriend
Can you try this with the test.rptdesign that is delivered with the BIRT
runtime?

Jason

"Partha Pratim Dutta" <duttpartha@gmail.com> wrote in message
news:79abb48956ebb921458d26fb01578414$1@www.eclipse.org...
>I am solve this problem but another problem is there. The java program
>(BirtReport.java) can not generate the pdf from rptdesign file.The error
>appear in the tomcat is as follows:
>
> Dec 21, 2005 6:28:04 PM org.eclipse.birt.core.util.BirtTimer logTimeTaken
> INFO: Engine startup takes 1703 Milliseconds.
> Dec 21, 2005 6:28:07 PM
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelp
> er openReportDesign
> SEVERE: invalid design file
> C:\jakarta-tomcat-5.0.27\webapps\learnity\report\new
> _report.rptdesign
> Report
> C:/jakarta-tomcat-5.0.27/webapps/learnity/report/new_report. rptdesign not
> found!
>
Re: error to show report through Tomcat5.0.27 [message #101480 is a reply to message #101185] Thu, 22 December 2005 00:31 Go to previous message
Eclipse UserFriend
trying with test.rptdesign the following error appear:


HTTP Status 500 -

------------------------------------------------------------ --------------------

type Exception report

message

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

exception

javax.servlet.ServletException: Invoker service() exception
org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:477)
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NoClassDefFoundError:
org/eclipse/birt/data/engine/api/IConditionalExpression
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:100)
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:85)
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:216)
report.NewBirtReport.run(NewBirtReport.java:88)
report.NewBirtReport.doPost(NewBirtReport.java:156)
report.NewBirtReport.doGet(NewBirtReport.java:216)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.servlets.InvokerServlet.serveRequest(Inv okerServlet.java:419)
org.apache.catalina.servlets.InvokerServlet.doGet(InvokerSer vlet.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.0.27 logs.
Previous Topic:Show footer on last page only
Next Topic:M3 Report Preview Error
Goto Forum:
  


Current Time: Thu May 08 12:01:12 EDT 2025

Powered by FUDForum. Page generated in 0.04441 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top