My environment is:<br />
<br />
1. Windows Vista Home Premium<br />
<br />
2. java version "1.6.0_21"<br />
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)<br />
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)<br />
<br />
3. Eclipse for RCP and RAP Developers<br />
Version: Helios Service Release 1<br />
Build id: 20100917-0705<br />
<br />
4. Internet Explorer 8.0.6001.18999<br />
<br />
5. Mozilla Firefox 4.0b8<br />
<br />
6. Google Chrome 8.0.552.224<br />
<br />
7. Firewall is disabled for the tests.<br />
<br />
8. I a BIRT newbie!<br />
<br />
I'm using the <span style='font-family: Courier New'>WebViewer.display()</span> from a RCP View calling:<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>WebViewer.display(reportUrlPath, browser, myparms);</pre>
<br />
My parameters are:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>Browser browser = new Browser(parent, SWT.NONE);
// Use the filename of your report
HashMap myparms = new HashMap();
HashMap emitmap = new HashMap();
myparms.put("SERVLET_NAME_KEY", "frameset");
myparms.put("FORMAT_KEY", "html");
// myparms.put("RESOURCE_FOLDER_KEY", "c:/myresources");
myparms.put("ALLOW_PAGE", "false");
myparms.put("SHOW_PARAMETER_PAGE", "false");
// Report Parameters
emitmap.put("Top Count", "6");
emitmap.put("Top Percentage", "15");
myparms.put("EMITTER_OPTIONS_KEY", emitmap);
// myparms.put("MAX_ROWS_KEY", "500");
</pre>
<br />
My report is generated without any problem inside the View. [BIRT is a really amazing software!

]<br />
<br />
However, when I click <em class='bbc'>Print Report</em> toolbar command and I choose <em class='bbc'>HTML print format</em>, my report is open in a Internet Explorer window with a exception as following:<br />
<br />
<blockquote class='ipsBlockquote' ><p>
org.eclipse.birt.report.exception.ViewerException: The viewing session is not available or has expired.<br />
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:158)<br />
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(BaseReportEngineServlet.java:224)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)<br />
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br />
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)<br />
at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)<br />
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)<br />
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)<br />
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)<br />
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<br />
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318)<br />
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)<br />
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)<br />
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)<br />
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)<br />
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)<br />
at org.mortbay.jetty.Server.handle(Server.java:326)<br />
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)<br />
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)<br />
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)<br />
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)<br />
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)<br />
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)<br />
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)<br /></p></blockquote>
<br />
First, my system default browser is not Internet Explorer, it's Firefox. Even if I change my default browser to Chrome, the report always opens with IE. [There are some configuration to set up the default system browser to BIRT?]<br />
<br />
Second, if I copy the original url that was first opened by IE and paste it into all three browsers, the report is opened normally without any exceptions.<br />
<br />
Third, the same happens if I choose <em class='bbc'>PDF print format</em> instead <em class='bbc'>HTML</em>. <br />
<br />
That's getting me crazy!

<br />
<br />
Any help is appreciated!<br />
<br />
<br />
Url HTML print format<br />
[html]http-~~-//127.0.0.1:64532/viewer/output?__report=/D:/PATH_TO_REPORTS/MY_REPORT.rptdesign&__format=html&__svg=false&__locale=pt_BR&__timezone=America/Sao_Paulo&__masterpage=true&__rtl=false&__cubememsize=10&__resourceFolder=&__dpi=96&&Top%20Percentage=15&Top%20Count=6&-425259990&&__pageoverflow=0&__overwrite=false[/html]<br />
<br />
Url PDF print format<br />
[html]http-~~-//127.0.0.1:64532/viewer/output?__report=/D:/PATH_TO_REPORTS/MY_REPORT.rptdesign&__format=pdf&__svg=false&__locale=pt_BR&__timezone=America/Sao_Paulo&__masterpage=true&__rtl=false&__cubememsize=10&__resourceFolder=&__dpi=96&&Top%20Percentage=15&Top%20Count=6&-245639399&&__pageoverflow=0&__overwrite=false[/html]