ReportEngines Resources

Hello everybody,

Nowadays I was facing resource problem of ReportEngines objects during the openDocument method of the ReportEngine object. It hangs tomcat.
In my project I was opening report in my context (In tomcat ) and getting prompt values from user after that I was submitting the report to AnalyticalReporting context to view report with Business Objects InfoView application.
During the context to context submitting I was not closing the ReportEngines object in my context. And after a while it consumes BO resources and it kept waiting during the openDocument method . For this problem I added
reportEngine.close()

method before submitting report to another context . It makes very big difference for Web Intelligence reports.

At the second context side you should get ReportEngines object from EnterpriseSession object not from session ,for AnalyticalReporting context. Because if you get ReportEngines object from session it may be show you wrong report startup view.

Keep in your mind ;

Allways close your ReportEngine object when your job finished

And always use your EnterpriseSession services , don’t take from session , if you are not sure.

Thanks.

This entry was posted in Genel. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>