<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WebReport Studio 4.4 - Print to PDF issue. in SAS Web Report Studio</title>
    <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WebReport-Studio-4-4-Print-to-PDF-issue/m-p/315655#M2262</link>
    <description>&lt;P&gt;Hi all...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A user is trying to run a huge PDF report(almost 3000 pages). After 2 hours, Web browser displays an error message below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Web browser shows: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HTTP Status 500 - java.lang.IllegalStateException: getOutputStream() has already been called for this response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relevant part of catalina.out shows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;20:16:16,737 | ERROR | [[action]] | Servlet.service() for servlet [action] in context with path [/SASWebReportStudio] threw exception [java.lang.IllegalStateException: getOutputStream() has already been called for this response] with root cause&lt;BR /&gt;java.lang.IllegalStateException: getOutputStream() has already been called for this response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[WRS] ERROR [tomcat-http--41] 2016-11-29 20:16:16,675 [ST-62-tDrfJpDDVGqYm1GLDfjS-cas:a03307] citation.controller.action.PrintPreviewAction - Root Cause: java.io.FileNotFoundException: /sas/sasconfig/Lev1/Web/WebAppServer/SASServer2_1/sas.wrs.tmpfiles/d20161129_1747/d2/wrsCachingStream2902554385933464974tmp (No such file or directory)&lt;BR /&gt;at java.io.FileInputStream.open(Native Method)&lt;BR /&gt;at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:146)&lt;BR /&gt;at com.sas.apps.citation.util.CachingIOStream.getInputStream(CachingIOStream.java:172)&lt;BR /&gt;at com.sas.apps.citation.model.report.PDFGenerator$InputStreamHolder.print(PDFGenerator.java:223)&lt;BR /&gt;at com.sas.apps.citation.model.report.PDFGenerator.getPDFStream(PDFGenerator.java:100)&lt;BR /&gt;at com.sas.apps.citation.model.report.RenderingImpl.getPDFStream(RenderingImpl.java:392)&lt;BR /&gt;at com.sas.apps.citation.view.beans.PrintOptionFormBean.previewReport(PrintOptionFormBean.java:606)&lt;BR /&gt;at com.sas.apps.citation.controller.action.PrintPreviewAction.applyDialog(PrintPreviewAction.java:201)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationDialogAction.doPerform(CitationDialogAction.java:163)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationAction._execute(CitationAction.java:188)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationAction.execute(CitationAction.java:164)&lt;BR /&gt;at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)&lt;BR /&gt;[ 97 lines suppressed ]&lt;BR /&gt;Which Caused: java.lang.RuntimeException: temp file invalid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Additional info...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Navigating to &lt;EM&gt;sas.wrs.tmpfiles/d20161129_1747/d2&lt;/EM&gt; directory there are no files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It prints out ok when few pages are selected (eg. page 1 to 50).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Session timeouts of all Middle Tier components were increased to 6 hours(360 min)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OS: RHEL 7.2&lt;BR /&gt;SAS 9.4&lt;BR /&gt;WebReport Studio 4.4&lt;/P&gt;&lt;P&gt;Browsers: Mozilla Firefox, Chrome and Internet Explorer, all latest versions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 19:58:29 GMT</pubDate>
    <dc:creator>mmiada</dc:creator>
    <dc:date>2016-11-30T19:58:29Z</dc:date>
    <item>
      <title>WebReport Studio 4.4 - Print to PDF issue.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WebReport-Studio-4-4-Print-to-PDF-issue/m-p/315655#M2262</link>
      <description>&lt;P&gt;Hi all...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A user is trying to run a huge PDF report(almost 3000 pages). After 2 hours, Web browser displays an error message below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Web browser shows: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HTTP Status 500 - java.lang.IllegalStateException: getOutputStream() has already been called for this response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Relevant part of catalina.out shows:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;20:16:16,737 | ERROR | [[action]] | Servlet.service() for servlet [action] in context with path [/SASWebReportStudio] threw exception [java.lang.IllegalStateException: getOutputStream() has already been called for this response] with root cause&lt;BR /&gt;java.lang.IllegalStateException: getOutputStream() has already been called for this response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[WRS] ERROR [tomcat-http--41] 2016-11-29 20:16:16,675 [ST-62-tDrfJpDDVGqYm1GLDfjS-cas:a03307] citation.controller.action.PrintPreviewAction - Root Cause: java.io.FileNotFoundException: /sas/sasconfig/Lev1/Web/WebAppServer/SASServer2_1/sas.wrs.tmpfiles/d20161129_1747/d2/wrsCachingStream2902554385933464974tmp (No such file or directory)&lt;BR /&gt;at java.io.FileInputStream.open(Native Method)&lt;BR /&gt;at java.io.FileInputStream.&amp;lt;init&amp;gt;(FileInputStream.java:146)&lt;BR /&gt;at com.sas.apps.citation.util.CachingIOStream.getInputStream(CachingIOStream.java:172)&lt;BR /&gt;at com.sas.apps.citation.model.report.PDFGenerator$InputStreamHolder.print(PDFGenerator.java:223)&lt;BR /&gt;at com.sas.apps.citation.model.report.PDFGenerator.getPDFStream(PDFGenerator.java:100)&lt;BR /&gt;at com.sas.apps.citation.model.report.RenderingImpl.getPDFStream(RenderingImpl.java:392)&lt;BR /&gt;at com.sas.apps.citation.view.beans.PrintOptionFormBean.previewReport(PrintOptionFormBean.java:606)&lt;BR /&gt;at com.sas.apps.citation.controller.action.PrintPreviewAction.applyDialog(PrintPreviewAction.java:201)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationDialogAction.doPerform(CitationDialogAction.java:163)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationAction._execute(CitationAction.java:188)&lt;BR /&gt;at com.sas.apps.citation.controller.action.CitationAction.execute(CitationAction.java:164)&lt;BR /&gt;at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)&lt;BR /&gt;[ 97 lines suppressed ]&lt;BR /&gt;Which Caused: java.lang.RuntimeException: temp file invalid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Additional info...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Navigating to &lt;EM&gt;sas.wrs.tmpfiles/d20161129_1747/d2&lt;/EM&gt; directory there are no files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It prints out ok when few pages are selected (eg. page 1 to 50).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Session timeouts of all Middle Tier components were increased to 6 hours(360 min)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OS: RHEL 7.2&lt;BR /&gt;SAS 9.4&lt;BR /&gt;WebReport Studio 4.4&lt;/P&gt;&lt;P&gt;Browsers: Mozilla Firefox, Chrome and Internet Explorer, all latest versions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 19:58:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WebReport-Studio-4-4-Print-to-PDF-issue/m-p/315655#M2262</guid>
      <dc:creator>mmiada</dc:creator>
      <dc:date>2016-11-30T19:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: WebReport Studio 4.4 - Print to PDF issue.</title>
      <link>https://communities.sas.com/t5/SAS-Web-Report-Studio/WebReport-Studio-4-4-Print-to-PDF-issue/m-p/317167#M2263</link>
      <description>&lt;P&gt;I'm sorry but there in no way around this issue other than printing a certain number of pages at a time. You are likely either timing out or the browser is running out of memory.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2016 23:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Web-Report-Studio/WebReport-Studio-4-4-Print-to-PDF-issue/m-p/317167#M2263</guid>
      <dc:creator>Madelyn_SAS</dc:creator>
      <dc:date>2016-12-06T23:55:40Z</dc:date>
    </item>
  </channel>
</rss>

