Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 08:02 Go to next message
vijay kumar is currently offline 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 08: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 10:09 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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
>


Jason Weathersby

BIRT Exchange
Re: How to avoid duplicate requests fro Birt reports. [message #704804 is a reply to message #704347] Fri, 29 July 2011 01:02 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumar
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 06:30 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumar
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 05:31 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumar
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 12:12 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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.......


Jason Weathersby

BIRT Exchange
Re: How to avoid duplicate requests fro Birt reports. [message #713809 is a reply to message #713598] Tue, 09 August 2011 02:02 Go to previous messageGo to next message
vijay kumar is currently offline vijay kumar
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 09:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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/ .


Jason Weathersby

BIRT Exchange
Re: How to avoid duplicate requests fro Birt reports. [message #713973 is a reply to message #713809] Tue, 09 August 2011 09:56 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
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/ .


Jason Weathersby

BIRT Exchange
Re: How to avoid duplicate requests fro Birt reports. [message #1044771 is a reply to message #713969] Fri, 19 April 2013 06:17 Go to previous messageGo to next message
azad kalakoti is currently offline azad kalakoti
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] Sun, 21 April 2013 23:39 Go to previous messageGo to next message
azad kalakoti is currently offline azad kalakoti
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 00:14 Go to previous message
azad kalakoti is currently offline azad kalakoti
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:Can BIRT chart large time series
Goto Forum:
  


Current Time: Sat Apr 19 00:38:20 EDT 2014

Powered by FUDForum. Page generated in 0.06537 seconds