Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BRIT Performance & New Birt Infrastructure(BRIT Performance & New Birt Infrastructure)
BRIT Performance & New Birt Infrastructure [message #628636] Thu, 23 September 2010 13:51 Go to next message
Gaurav Sahni is currently offline Gaurav SahniFriend
Messages: 19
Registered: September 2010
Junior Member
We have just learning the BIRT tool. We have download the eclipse birt package and developed some rpeorts and also run on the Birt viewer using the Tomcat. But reports are very slow for a small data. Could you please describe how to increasse the performance and also can we used cachinh in Birt if yes then how to implements the cache
and second question is how to set the infrastructre for the BIRt like can we use java with Birt if yes then what is the role of Java
Please help us to solve these queries as we have to move the congnos reports to BIRT
Re: BRIT Performance & New Birt Infrastructure [message #628693 is a reply to message #628636] Thu, 23 September 2010 17:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

If you are using the viewer the first time you run a report the engine
starts up which takes longer to run the first report. After that it
should be fine. You can write your own servlet or Java app to run the
engine as well. There are a lot of example on the Birt-Exchange.org
devshare. You can also look at these:
http://wiki.eclipse.org/Servlet_Example_%28BIRT%29_2.1
Make sure to look at the bottom for updated code.

http://wiki.eclipse.org/Integration_Examples_%28BIRT%29
Also understand that starting up the platform is expensive and should
only be done once for the lifetime of the application. A lot of the
simple examples startup the platform execute a birt function and then
shutdown. This is ok for illustrating how the engine works but not a
good idea in a application.

Jason


On 9/23/2010 9:51 AM, Gaurav Sahni wrote:
> We have just learning the BIRT tool. We have download the eclipse birt
> package and developed some rpeorts and also run on the Birt viewer using
> the Tomcat. But reports are very slow for a small data. Could you please
> describe how to increasse the performance and also can we used cachinh
> in Birt if yes then how to implements the cache
> and second question is how to set the infrastructre for the BIRt like
> can we use java with Birt if yes then what is the role of Java
> Please help us to solve these queries as we have to move the congnos
> reports to BIRT
>
Re: BRIT Performance & New Birt Infrastructure [message #628853 is a reply to message #628693] Fri, 24 September 2010 12:57 Go to previous messageGo to next message
Gaurav Sahni is currently offline Gaurav SahniFriend
Messages: 19
Registered: September 2010
Junior Member
Thanks Jason for quick reply
Today we started implementing the servlet example but when i tried to run the WebReport Servlet I got the following error

Sep 24, 2010 5:37:19 PM org.eclipse.birt.report.engine.api.ReportEngine <init>
SEVERE: Can not startup the OSGI framework
org.eclipse.birt.core.exception.BirtException: Can not startup the OSGI framework
at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:91)
at org.eclipse.birt.report.engine.api.ReportEngine.<init>(ReportEngine.java:59)
at com.fmr.viewtest2.main(viewtest2.java:25)
Caused by: org.eclipse.birt.core.exception.CoreException
at org.eclipse.birt.core.framework.osgi.OSGILauncher.startup(OS GILauncher.java:90)
at org.eclipse.birt.core.framework.Platform.startup(Platform.ja va:79)
... 2 more
Can not load the report engine
An error occured during the opening of the report file!
java.lang.NullPointerException
at org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:126)
at com.fmr.viewtest2.main(viewtest2.java:30)
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\class es;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar

we are using following configuration
Birt Viewer2.2.6
java 1.5
Tomcat 5.0
Eclipse3.4.1
Could you please help us to remove this issue

Re: BRIT Performance & New Birt Infrastructure [message #628909 is a reply to message #628853] Fri, 24 September 2010 16:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Do you have the platform in /web-inf/platform?
This error:
Can not startup the OSGI framework
suggest that you do not.

Jason

On 9/24/2010 8:57 AM, Gaurav Sahni wrote:
> Can not startup the OSGI framework
Re: BRIT Performance & New Birt Infrastructure [message #629222 is a reply to message #628909] Mon, 27 September 2010 14:05 Go to previous messageGo to next message
Gaurav Sahni is currently offline Gaurav SahniFriend
Messages: 19
Registered: September 2010
Junior Member
Hi JAson,

Thanks for the reply
Today i am able to the run the reports using the BIRT Servlet as a web project on Tomcat server now i just wanted to know which reports has the parameter when we create using the eclipse now does not showing those parameter when run using the BIRT servlet.
Could you please help us to show report paramter while runing report using the BIRT servlet
Re: BRIT Performance & New Birt Infrastructure [message #629260 is a reply to message #629222] Mon, 27 September 2010 15:40 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Gaurav,

If you write your own servlet you will need to provide code to
interrogate the design and present your own parameter dialog. The
viewer does this using AJAX code and is one of the advantages of using
the viewer.
Here is an example that shows how to get the parameter options from the
design:
http://wiki.eclipse.org/Parameter_Details_%28BIRT%29_2.1

It is a little old but should still work. This example is also
available compiled under 2.5.2 on Birt Exchange here:
http://www.birt-exchange.org/org/devshare/deploying-birt-rep orts/1187-eclipsecon-2010-birt-metal-ppt/


That example contains a ppt and many api examples. Look at the
ReportParameters.java class in the APIs project.

Jason

On 9/27/2010 10:05 AM, Gaurav Sahni wrote:
> Hi JAson,
>
> Thanks for the reply
> Today i am able to the run the reports using the BIRT Servlet as a web
> project on Tomcat server now i just wanted to know which reports has the
> parameter when we create using the eclipse now does not showing those
> parameter when run using the BIRT servlet.
> Could you please help us to show report paramter while runing report
> using the BIRT servlet
>
Re: BRIT Performance & New Birt Infrastructure [message #629559 is a reply to message #629260] Tue, 28 September 2010 17:11 Go to previous messageGo to next message
Gaurav Sahni is currently offline Gaurav SahniFriend
Messages: 19
Registered: September 2010
Junior Member
Hi jason,

Thanks for the reply. when you run the reports through birt viewer we have the pagination and also the other options to export data and print reports But when we write our own servlets it does not display these options So how to implements this while writing our own servlet and also as we are building the server for the BIRT reports what will be the best configuration for the new server to handle all types of custom reports

Again thanks for the all the reply

Thanks
Gaurav Sahni
Re: BRIT Performance & New Birt Infrastructure [message #629791 is a reply to message #629559] Wed, 29 September 2010 14:48 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Gaurav,

There is a lot of code in the viewer to do these features. They are all
built on top of the engine so they can be built but will take time.
Why can you not use the viewer?

Jason


On 9/28/2010 1:11 PM, Gaurav Sahni wrote:
> Hi jason,
>
> Thanks for the reply. when you run the reports through birt viewer we
> have the pagination and also the other options to export data and print
> reports But when we write our own servlets it does not display these
> options So how to implements this while writing our own servlet and also
> as we are building the server for the BIRT reports what will be the best
> configuration for the new server to handle all types of custom reports
>
> Again thanks for the all the reply
> Thanks Gaurav Sahni
Previous Topic:BIRT Servlet embed report in some jsp
Next Topic:Embeding Generated reports to other web page
Goto Forum:
  


Current Time: Tue Apr 16 22:09:53 GMT 2024

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

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

Back to the top