running a BIRT report from a tomcat server [message #13169] |
Thu, 03 March 2005 10:49  |
Eclipse User |
|
|
|
Originally posted by: kaye.dsl.pipex.com
Have completed the BIRT tutorial and would now like to integrate a BIRT
report into a test application on a Tomcat server.
I guess this involves copying the .rptdesign file and passing it to the
engine.jar in org.eclipse.birt.report.engine_0.0.1
Have looked all through the documentation and the BIRT site but can't find
info that explains what to put on Tomcat and where, and what the API is to
the engine from our jsp or servlet.
Many thanks for any information that can help us to do this.
|
|
|
|
|
Re: running a BIRT report from a tomcat server [message #14179 is a reply to message #14032] |
Fri, 04 March 2005 11:42  |
Eclipse User |
|
|
|
Sheldon,
I have a demo on how to create a stand-alone application that access BIRT
reports and BIRT charts. I will have it out on the site by Monday next
week. I do not know how you are calling to the Viewer class, but it looks
like the toolbar is causing problems. At the time you call the viewer or
the engine, you may want to try passing a parameter,
__toolbar=false.
At this early stage, I use the following attributes and things seem to work
well:
__format=html&__frame=false&__navigation=false&_ _toolbar=false.
Scott
"Sheldon Li" <sheldonli@hotmail.com> wrote in message
news:d08dtu$6ih$1@www.eclipse.org...
> I copied the entire directory viewer to a birt directory under webapps in
> tomcat. I tried to make a request to one of the jsp files:
> reporttoolbar.jsp, i got the follwing excetion:
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException: bean isMaximized not found within scope
>
org.apache.jasper.runtime.PageContextImpl.doHandlePageExcept ion(PageContextI
mpl.java:845)
>
org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImp
l.java:778)
> pages.ReportToolbar_jsp._jspService(Unknown Source)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:99)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> root cause
>
> java.lang.InstantiationException: bean isMaximized not found within scope
> pages.ReportToolbar_jsp._jspService(Unknown Source)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:99)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.4 logs.
>
> "Wenbin He" <whe@actuate.com> wrote in message
> news:d081ss$ju6$1@www.eclipse.org...
> > Hi Nick:
> >
> > BIRT report viewer under plug-in org.eclipse.birt.report.viewer/viewer
> > folder is a web application that is embedded into BIRT report designer.
> > You
> > can look to the report viewer code for detail on how to integrate the
> > report
> > engine into your J2EE application. For a quick start, simply copy the
> > report
> > viewer and deploy it to a tomcat server.
> >
> > -Wenbin
> >
> >
> >
> >
> >
> >
> > "Nick Kaye" <kaye@dsl.pipex.com> wrote in message
> > news:d07bmb$v7e$1@www.eclipse.org...
> >> Have completed the BIRT tutorial and would now like to integrate a BIRT
> >> report into a test application on a Tomcat server.
> >>
> >> I guess this involves copying the .rptdesign file and passing it to the
> >> engine.jar in org.eclipse.birt.report.engine_0.0.1
> >>
> >> Have looked all through the documentation and the BIRT site but can't
> >> find
> >> info that explains what to put on Tomcat and where, and what the API is
> >> to
> >> the engine from our jsp or servlet.
> >>
> >> Many thanks for any information that can help us to do this.
> >>
> >>
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.25041 seconds