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

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
>

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.......

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.......

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/ .

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/ .

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/ .