Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to avoid duplicate requests for Birt reports.
icon14.gif  How to avoid duplicate requests for Birt reports. [message #704228] Thu, 28 July 2011 12:02 Go to next message
vijay kumar is currently offline vijay kumarFriend
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 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 #704804 is a reply to message #704347] Fri, 29 July 2011 05:02 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumarFriend
Messages: 26
Registered: October 2010
Junior Member
Thank you,

this is link where i read the message https://bugs.eclipse.org/bugs/show_bug.cgi?id=267031 and in my eclipse ide it is displaying MyEclispe 7.0/Birt 2.3.1. I will update to latest IDe which is having the versions like updated Birt versions.

I will update and get back on this issue. Thank you

VijayaKUmarBolisetti
Re: How to avoid duplicate requests fro Birt reports. [message #710711 is a reply to message #704804] Fri, 05 August 2011 10:30 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumarFriend
Messages: 26
Registered: October 2010
Junior Member
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 #713263 is a reply to message #710711] Mon, 08 August 2011 09:31 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumarFriend
Messages: 26
Registered: October 2010
Junior Member
Hi,

Any thouht to my problem or any hint.
Re: How to avoid duplicate requests fro Birt reports. [message #713598 is a reply to message #710711] Mon, 08 August 2011 16:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 #713809 is a reply to message #713598] Tue, 09 August 2011 06:02 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumarFriend
Messages: 26
Registered: October 2010
Junior Member
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 #713969 is a reply to message #713809] Tue, 09 August 2011 13:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 #1044771 is a reply to message #713969] Fri, 19 April 2013 10:17 Go to previous messageGo to next message
azad kalakoti is currently offline azad kalakotiFriend
Messages: 6
Registered: December 2012
Location: Pune, India
Junior Member
Hi, I am also facing the same issue, I have replied on this thread too : https://bugs.eclipse.org/bugs/show_bug.cgi?id=267031

I have seen couple of bugs in bugzila, but could not get a solid solution for it.
On the above thread Zhiqiang Qian said (I am quoting it):
James,

There's no simple work-around for this. 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.

Birt Admin,Please look into this issue, this seems to be quite serious. Confused
Crying or Very Sad
Re: How to avoid duplicate requests fro Birt reports. [message #1046540 is a reply to message #1044771] Mon, 22 April 2013 03:39 Go to previous messageGo to next message
azad kalakoti is currently offline azad kalakotiFriend
Messages: 6
Registered: December 2012
Location: Pune, India
Junior Member
Guys! Please Help!
Re: How to avoid duplicate requests fro Birt reports. [message #1048111 is a reply to message #1046540] Wed, 24 April 2013 04:14 Go to previous message
azad kalakoti is currently offline azad kalakotiFriend
Messages: 6
Registered: December 2012
Location: Pune, India
Junior Member
@Jason Weathersby- Can u please help me on this?
Previous Topic:Trying to create a report using BIRT API
Next Topic:Integrate BIRT 4.2.1 with JSF 2.0
Goto Forum:
  


Current Time: Fri Mar 29 01:30:14 GMT 2024

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

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

Back to the top