Problem Note 67597: SAS® Forecast Studio reports a time-out after ten minutes and an error is generated
In SAS Forecast Studio, stored-process reports might time out after ten minutes, generating the following error:
com.sas.analytics.forecasting.client.api.reports.ReportException
at com.sas.analytics.forecasting.client.api.reports.ReportResults.processResults(ReportResults.java:223)
at com.sas.analytics.forecasting.client.impl.reports.ReportImpl.execute(ReportImpl.java:192)
at com.sas.analytics.forecasting.swing.fstudio.reports.ReportsView.runReport(ReportsView.java:1048)
at com.sas.analytics.forecasting.swing.fstudio.reports.ReportsView.doRunReportAction(ReportsView.java:1495)
at com.sas.analytics.forecasting.swing.fstudio.reports.ReportsView.access$300(ReportsView.java:111)
at com.sas.analytics.forecasting.swing.fstudio.reports.ReportsView$4.actionPerformed(ReportsView.java:797)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6516)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6281)
. . .85 more lines. . .
java.lang.IllegalStateException
at com.sas.svcs.cluster.httpinvoker.stateful.DropBox.retrieve(DropBox.java:60)
The time-out occurs because the SAS_JES_TASK_LOGS table in the SAS® Shared Services database contains a large number of SAS Forecast Studio log entries.
To work around this problem, delete the SAS Forecast Studio log entries from the SAS_JES_TASK_LOGS table, as follows:
- Log on to the SAS Shared Services database with these commands:
POSTGRESQL_HOME={path-to}/SASWebInfrastructurePlatformDataServer/9.4
export PATH=${POSTGRES_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${POSTGRES_HOME}/lib:$LD_LIBRARY_PATH
psql -h localhost -U SharedServices -p 9432
Password for user SharedServices:
- Verify the size of SAS Forecast Studio report log entries in the SAS_JES_TASK_LOGS table by submitting the command that is shown in the following example:
Shared-Services-prompt > select count(*) from sas_jes_task_logs where task_id in (select task_id from sas_jes_tasks where stp_path_txt like '%FSReports%');
count
-------
1600
(1 row)
- Delete the entries in the table by submitting this command:
delete from sas_jes_task_logs where task_id in (select task_id from sas_jes_tasks where stp_path_txt like '%FSReports%');
Retest the stored-process report. The report should open in a browser without timing out.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Forecast Studio | Microsoft® Windows® for x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8 Enterprise 32-bit | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8 Pro 32-bit | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8 Pro x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Enterprise 32-bit | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Pro 32-bit | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 8.1 Pro x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows 10 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 R2 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2008 for x64 | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 Datacenter | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 R2 Datacenter | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 R2 Std | 14.2 | | 9.4 TS1M4 | |
Microsoft Windows Server 2012 Std | 14.2 | | 9.4 TS1M4 | |
Windows 7 Enterprise 32 bit | 14.2 | | 9.4 TS1M4 | |
Windows 7 Enterprise x64 | 14.2 | | 9.4 TS1M4 | |
Windows 7 Home Premium 32 bit | 14.2 | | 9.4 TS1M4 | |
Windows 7 Home Premium x64 | 14.2 | | 9.4 TS1M4 | |
Windows 7 Professional 32 bit | 14.2 | | 9.4 TS1M4 | |
Windows 7 Professional x64 | 14.2 | | 9.4 TS1M4 | |
Windows 7 Ultimate 32 bit | 14.2 | | 9.4 TS1M4 | |
Windows 7 Ultimate x64 | 14.2 | | 9.4 TS1M4 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2021-11-29 15:26:10 |
Date Created: | 2021-03-12 15:44:40 |