Community
Participate
Working Groups
Build Identifier: 2.6.1 Using Tomcat integration steps to the letter both with 2.5.3 and 2.6.1 no example works. Error returned is always the same "The viewing session is not available or has expired". No StackTrace is returned. We are simply using a web browser to connect to birt like so. It does not matter what report we use or what flavor of viewer. The following links are live so try it for yourself. http://esq3.houdiniesq.com/birt-viewer/frameset?__report=report/SalesInvoice.rptdesign http://esq3.houdiniesq.com/birt-viewer/run?__report=report/SalesInvoice.rptdesign http://esq3.houdiniesq.com/birt-viewer/preview?__report=report/SalesInvoice.rptdesign I HAVE TRIED THIS 5 MONTHS AGO AND IT IS STILL BROKEN. I can appreciate how everyone uses eclipse to run their reports but this is not practical for end users. I have just about given up and will use Jasper instead. Reproducible: Always Steps to Reproduce: 1. Download 2.6.1 runtime 2. Installed onto running live TomCat server 3. http://esq3.houdiniesq.com/birt-viewer/run?__report=report/SalesInvoice.rptdesign
Hi, This was covered by our smoke test and we didnot encounter this issue in 2.3/2.5/2.6 release. Could you elaborate more how you deploy birt viewer on your tomcat? And can you preview the embeded sample report after you deployed on tomcat, by click the link on http://<server address>/birt-viewer/index.jsp ?
Since there is no response from the submitter, close this issue as worksforme. Please feel free to reopen if any further information could be provided.
THIS DOES NOT WORK. NEVER HAS UNLESS YOU RUN THE RUNTIME IN ECLIPSE simple test, test for yourself on live site using provided URLs. BACKGROUND: BIRT Runtime running in Tomcat. Reports with no parameters work but those with just don't! TESTS: test 1) Same report runs if parameters are passed http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf&StartDate=01/01/2010&EndDate=01/01/2012&Staff=Colin teste 2) Call the same report so that the parameter window appears. Enter the parameters and click Ok and the following exception below URL is thrown. http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf EXCEPTION: - The viewing session is not available or has expired. org.eclipse.birt.report.exception.ViewerException: The viewing session is not available or has expired. at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:239) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:636)
In the birt.war or WebViewerExample, these is a embedded sample report test1.rptdesign, which also use a parameter. Can you reproduce this issue if you preview the sample report test1.rptdesign?
(In reply to comment #4) > In the birt.war or WebViewerExample, these is a embedded sample report > test1.rptdesign, which also use a parameter. > Can you reproduce this issue if you preview the sample report test1.rptdesign? No it does not work. As I said no rptdesign that has a param window works. Here is a live link to the test1.rptdesign and the exception thrown when Ok is clicked. If the parameters are passed the reports run fine. http://esq3.houdiniesq.com:80/rpt/run?__report=report/test1.rptdesign&__format=pdf - The viewing session is not available or has expired. org.eclipse.birt.report.exception.ViewerException: The viewing session is not available or has expired. at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:239) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:636)
You have Tomcat running on port 80? Any chance you could test another port? Also can you try /preview instead of /run? Jason
(In reply to comment #6) > You have Tomcat running on port 80? Any chance you could test another port? > Also can you try /preview instead of /run? > > Jason Changing port to 8080 or using preview has no change. You know I did provide the URL which you could see for yourself. Same result. Port change does not help. http://esq3.houdiniesq.com/rpt/preview?__report=report/timebystaffbydate.rptdesign&__format=pdf& (In reply to comment #6) > You have Tomcat running on port 80? Any chance you could test another port? > Also can you try /preview instead of /run? > > Jason
(In reply to comment #8) > (In reply to comment #6) > > You have Tomcat running on port 80? Any chance you could test another port? > > Also can you try /preview instead of /run? > > > > Jason > > Changing port to 8080 or using preview has no change. You know I did provide > the URL which you could see for yourself. > > Same result. Port change does not help. > > http://esq3.houdiniesq.com/rpt/preview?__report=report/timebystaffbydate.rptdesign&__format=pdf& > > > (In reply to comment #6) > > You have Tomcat running on port 80? Any chance you could test another port? > > Also can you try /preview instead of /run? > > > > Jason Jason, Sorry my last comment sounded rude. That wasn't my intention. I received a collision warning so I must have hit save before I finished editing my reply.
Seems my comment did not go through. What browser are you using to test? Are cookies enabled? This error appears to be happending when the AJAX framework calls the web services of the viewer.
(In reply to comment #10) > Seems my comment did not go through. What browser are you using to test? Are > cookies enabled? This error appears to be happending when the AJAX framework > calls the web services of the viewer. Yes javascript and cookies enabled. Tried Safari, Chrome and Firefox.
Are you using the browser on the same machine the viewer is deployed on? Are tomcat connections going through a proxy?
(In reply to comment #12) > Are you using the browser on the same machine the viewer is deployed on? Are > tomcat connections going through a proxy? The server is remote. I;m thousands of miles away. No proxy.
(In reply to comment #12) > Are you using the browser on the same machine the viewer is deployed on? Are > tomcat connections going through a proxy? I'm accessing it just like you would. IF you click any of the URLs I have provided you would get the error hence so would I and our staff.
Just FYI, fi i run tomcat locally on OSX with the BIRT runtime I get the same error so it has nothing to do with where the BIRT runtime is relative to the caller. Report designs with a Parameter throw an exception. Pass the parameters to the report instead and all is fine.
Just FYI, fi i run tomcat locally on OSX with the BIRT runtime I get the same error so it has nothing to do with where the BIRT runtime is relative to the caller. Report designs with a Parameter throw an exception. Pass the parameters to the report instead and all is fine. HERE are live test, same report. One with parameter window and the other passing the parameters instead. http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf&StartDate=01/01/2010&EndDate=01/01/2012&Staff=Colin http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf
Has anyone looked at this issue? Once again live test - pass parameters report runs fine, run report so parameter window is used instead and you get the infamous exception..."The viewing session is not available or has expired" Using Birt 3.7.0 Copied WebViewerExample folder (renamed to rpt) and dropped it into a instance of Tomcat (on CentOS) in the webapps folder. Simple Tomcat runtime deployment. Reports are stored in report subfolder but IT DOES NOT matter where the rptdesign is located. *** here are two live test URLS. See for yourself. First runs fine, second does NOT! http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf&StartDate=01/01/2010&EndDate=01/01/2012&Staff=Colin http://esq3.houdiniesq.com:80/rpt/run?__report=report/timebystaffbydate.rptdesign&__format=pdf *** Changing ports, server location (local/remote), using preview instead of run has no effect. Sample reports do not run. URLS for BIRT test reports below http://esq3.houdiniesq.com:80/rpt/run?__report=report/test.rptdesign&__format=pdf http://esq3.houdiniesq.com:80/rpt/run?__report=report/test1.rptdesign&__format=pdf ______________________________________ Same issue exist no change, no fix. Any report with a parameter window throws exception. - The viewing session is not available or has expired. org.eclipse.birt.report.exception.ViewerException: The viewing session is not available or has expired. at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:158) at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(BaseReportEngineServlet.java:224) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:636)
I tried it in 3.7.0 release and tomcat 6.0, the question can't be reproduce. Could you attach the report you preview or other information?