How to avoid duplicate requests for Birt reports. [message #704228] |
Thu, 28 July 2011 12:02 |
vijay kumar Messages: 26 Registered: October 2010 |
Junior Member |
|
|
Hi, I am having an issue with duplicate request for same report (report called two times immediately). I am getting the following exception
org.eclipse.birt.report.service.api.ReportServiceException org.eclipse.birt.report.service.api.ReportServiceException atorg.eclipse.birt.report.service.ReportEngineService.openReportDocument(ReportEngineService.java:504)
I am running the birt reports using My Eclipse IDe 7.5. It uses the version 2.3.1. When I goolged for this error they are saying it is due to some session management and they are saying "we introduced a new session management mechanism in 2.3.2, which includes quite complex changes. I would suggest you upgrade to 2.3.2 in this case". Is this upgrade going to resolve my problem? Failed to upgrade my Ide.
Any Suggestion on this. Thank you in advance
Vijay Kumar Bolisetti
[Updated on: Thu, 28 July 2011 12:03] Report message to a moderator
|
|
|
Re: How to avoid duplicate requests fro Birt reports. [message #704347 is a reply to message #704228] |
Thu, 28 July 2011 14:09 |
|
Vijay,
I have not seen this error before. What link did you read the message
on when you googled it? What is the latest version of MyEclipse? They
should be updating BIRT versions as well. BIRT just released 3.7 which
has many more features than 2.3.1 or 2.3.2.
Jason
On 7/28/2011 8:02 AM, vijay kumar wrote:
> Hi, I am having an issue with duplicate request for same report (report
> called two times immediately). I am getting the following exception
> org.eclipse.birt.report.service.api.ReportServiceException
> org.eclipse.birt.report.service.api.ReportServiceException
> atorg.eclipse.birt.report.service.ReportEngineService.openReportDocument(ReportEngineService.java:504)
> I am running the birt reports using My Eclipse IDe 7.5. It uses the
> version 2.3.1. When I goolged for this error they are saying it is due
> to some session management and they are saying "we introduced a new
> session management mechanism in 2.3.2, which includes quite complex
> changes. I would suggest you upgrade to 2.3.2 in this case". Is this
> upgrade going to resolve my problem? Failed to upgrade my Ide.
> Any Suggestion on this. Thank you in advance
> Vijay Kumar Bolisetti
>
|
|
|
|
|
|
Re: How to avoid duplicate requests fro Birt reports. [message #713598 is a reply to message #710711] |
Mon, 08 August 2011 16:12 |
|
Vijay,
I am not 100% on how MyEclipse does the integration. What does the
folder structure look like: If you are using 2.6.2 or less there should
be the birt jars in in WEB-INF/lib (make sure you only have one version
of the jars here) and in the WEB-INF/platform/plugins directory you
should have the plugins from the BIRT runtime. Only have one version
here as well. In WEB-INF/platform/configuration you should only have
config.ini at the start of the application.
Jason
On 8/5/2011 6:30 AM, vijay kumar wrote:
> My Birt scenario is like this. I have a one web application running in
> Jboss. In that application I am calling this web project for running the
> reports. That means I am not having any session concept or User id
> concept in my reports web project. Just call the report URL in my web
> application. Everything is working fine.
>
> But I am running through duplicate request issue, for that I have update
> BIRt version from 2.3.1 to 2.5.2 (Suggestion from forums).
> I have upgraded My Eclipse IDE 7.5 to 9.1 and I had report Web project
> using Myeclipse 7.0/Birt 2.3.1. now I want to upgrade my project and
> reports files to new version. This update is mainly for resolving the
> Duplicate request from reports.
>
> I have updated the current version of code to latest in 3 different ways.
>
> NOTE: Here all the time I was talking about consecutive request to
> single report (Duplicate requests)
>
> 1. import the project into new IDE and updated the Build path to new
> version. • Added Birt 2.5.2 library to the current project.(old version
> also is there)-when I run the report I am getting
> org.eclipse.birt.report.service.api.ReportServiceException.• I have
> retained only new version alone- when I run the report it works fine for
> 3 consecutive times only, if you click same report for more than 3 I am
> getting org.eclipse.birt.report.service.api.ReportServiceException. Once
> this error comes next time even 3 hits also not working.
> • I have retained the same code as old version- when I run the report
> the same error org.eclipse.birt.report.service.api.ReportServiceException.
> 2. Created the new Web report added the reports design folder alone in
> that. Here no output for report. I am getting blank page without
> generating report document.
>
> 3. Third one create the new web report. Copy paste the code from step 1.
> First time alone I am getting following error "The viewing session is
> not available or has expired". First time alone means I am deploying the
> project using jboss server. Then I login in to my application and click
> report, first time alone I am getting this error. After that consecutive
> requests for report is working fine.
>
> Overall it is not stable. Is my approach is correct? How can I upgrade
> my old code to new one? Any suggestions.......
|
|
|
|
Re: How to avoid duplicate requests fro Birt reports. [message #713969 is a reply to message #713809] |
Tue, 09 August 2011 13:56 |
|
I responded on the other thread.
Jason
On 8/9/2011 2:02 AM, vijay kumar wrote:
> Hi Jason,
>
> Thanks for your reply. I do have the plugings, only one version and Ini
> file too. After spending time, i have noticed that you need to rebuild
> the reports in new version then only those changes are seen. Though you
> upgrade the existing project it still takes the old jar files. If you
> try to modify the version it will throw an exception saying that no
> report document.
> Finally i have decided to go with re creation reports in newer version;
> here too i have faced the problem. Still there is UN resolved bug for
> duplicate request. U can see this post
> http://www.eclipse.org/forums/index.php/t/233819/ .
|
|
|
Re: How to avoid duplicate requests fro Birt reports. [message #713973 is a reply to message #713809] |
Tue, 09 August 2011 13:56 |
|
I responded on the other thread.
Jason
On 8/9/2011 2:02 AM, vijay kumar wrote:
> Hi Jason,
>
> Thanks for your reply. I do have the plugings, only one version and Ini
> file too. After spending time, i have noticed that you need to rebuild
> the reports in new version then only those changes are seen. Though you
> upgrade the existing project it still takes the old jar files. If you
> try to modify the version it will throw an exception saying that no
> report document.
> Finally i have decided to go with re creation reports in newer version;
> here too i have faced the problem. Still there is UN resolved bug for
> duplicate request. U can see this post
> http://www.eclipse.org/forums/index.php/t/233819/ .
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08108 seconds