SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 67597: SAS® Forecast Studio reports a time-out after ten minutes and an error is generated

DetailsHotfixAboutRate It

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:

  1. 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:
  2. 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)
  3. 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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Forecast StudioMicrosoft® Windows® for x6414.29.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit14.29.4 TS1M4
Microsoft Windows 8 Enterprise x6414.29.4 TS1M4
Microsoft Windows 8 Pro 32-bit14.29.4 TS1M4
Microsoft Windows 8 Pro x6414.29.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit14.29.4 TS1M4
Microsoft Windows 8.1 Enterprise x6414.29.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit14.29.4 TS1M4
Microsoft Windows 8.1 Pro x6414.29.4 TS1M4
Microsoft Windows 1014.29.4 TS1M4
Microsoft Windows Server 200814.29.4 TS1M4
Microsoft Windows Server 2008 R214.29.4 TS1M4
Microsoft Windows Server 2008 for x6414.29.4 TS1M4
Microsoft Windows Server 2012 Datacenter14.29.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter14.29.4 TS1M4
Microsoft Windows Server 2012 R2 Std14.29.4 TS1M4
Microsoft Windows Server 2012 Std14.29.4 TS1M4
Windows 7 Enterprise 32 bit14.29.4 TS1M4
Windows 7 Enterprise x6414.29.4 TS1M4
Windows 7 Home Premium 32 bit14.29.4 TS1M4
Windows 7 Home Premium x6414.29.4 TS1M4
Windows 7 Professional 32 bit14.29.4 TS1M4
Windows 7 Professional x6414.29.4 TS1M4
Windows 7 Ultimate 32 bit14.29.4 TS1M4
Windows 7 Ultimate x6414.29.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.