When you create a SAS Forecast Studio 3.1 project by using the %FSCREATE macro with RUN=NO option, the newly created project does not run when you use the %FSRUNPRJ macro.
If you try to run the project with the %FSRUNPRJ macro, the following exception occurs in the SAS log:
NOTE: Could not initialize classpath. Classpath variable is not set. br> ERROR: Exception in fsrunprj br> ERROR: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Can not open project because it was not yet forecasted.
Wrong Stage: 0; nested exception is:
java.lang.IllegalStateException: Can not open project because it was not yet forecasted.
Wrong Stage: 0
java.io.FileNotFoundException: ?/SAS_ForecastStudio_Lock_0 (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmi.getUniqueClientUserID(ForecastingSessionRmi.java:2503)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmi.(ForecastingSessionRmi.java:174)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmiLoader.createForecastingSession
To enable the project to run with the %FSRUNPRJ macro, use either of the following methods:
Note: For SAS® 9.3, when you create a SAS Forecast Studio 4.1 project with the %FSCREATE macro and the RUN=NO option, you do not have to run the CREATE_PROJECT_IMPORT_DATA batch code. The project will run successfully with the %FSRUNPRJ macro. However, be aware that the same Java exception message still appears in the log.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Forecast Server Batch Interface | Microsoft Windows XP 64-bit Edition | 3.1_M3 | 9.2 TS2M3 | ||
Microsoft® Windows® for 64-Bit Itanium-based Systems | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft® Windows® for x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 Standard Edition | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2003 for x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2008 | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows Server 2008 for x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Microsoft Windows XP Professional | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Enterprise 32 bit | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Enterprise x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Home Premium 32 bit | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Home Premium x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Professional 32 bit | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Professional x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Ultimate 32 bit | 3.1_M3 | 9.2 TS2M3 | ||||
Windows 7 Ultimate x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Windows Vista | 3.1_M3 | 9.2 TS2M3 | ||||
Windows Vista for x64 | 3.1_M3 | 9.2 TS2M3 | ||||
64-bit Enabled AIX | 3.1_M3 | 9.2 TS2M3 | ||||
64-bit Enabled HP-UX | 3.1_M3 | 9.2 TS2M3 | ||||
64-bit Enabled Solaris | 3.1_M3 | 9.2 TS2M3 | ||||
HP-UX IPF | 3.1_M3 | 9.2 TS2M3 | ||||
Linux | 3.1_M3 | 9.2 TS2M3 | ||||
Linux for x64 | 3.1_M3 | 9.2 TS2M3 | ||||
Solaris for x64 | 3.1_M3 | 9.2 TS2M3 |
When a Forecast Studio 3.1 project is created using the FSCREATE macro with RUN=No, the newly created project will not run using the FSRUNPRJ macro.
The following exception occurs in the SAS log:
>
NOTE: Could not initialize classpath. Classpath variable is not set.
ERROR: Exception in fsrunprj
ERROR: RemoteException occurred in server thread; nested exception is:
java.rmi.RemoteException: Can not open project because it was not yet forecasted.
Wrong Stage: 0; nested exception is:
java.lang.IllegalStateException: Can not open project because it was not yet forecasted.
Wrong Stage: 0
java.io.FileNotFoundException: ?/SAS_ForecastStudio_Lock_0 (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmi.getUniqueClientUserID(ForecastingSessionRmi.java:2503)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmi.(ForecastingSessionRmi.java:174)
at com.sas.analytics.forecasting.rmi.ForecastingSessionRmiLoader.createForecastingSession
Work around:
In order to run the project with the FSRUNPRJ macro, the CREATE_PROJECT_IMPORT_DATA batch file, located in the newly created Forecast Studio project directory, must be ran first; or the project must be opened in Forecast Studio and run there first.
In SAS 9.3 / Forecast Studio 4.1, when a project is created with FSCREATE where run=no, the project will run using the FSRUNPRJ macro without running the CREATE_PROJECT_IMPORT_DATA. However, even though FSRUNPRJ runs, it produces the same java exception and the same �Can
not open project because it was not yet forecasted.� error that comes out in FS 3.1� but the project does run.
Type: | Usage Note |
Priority: | medium |
Date Modified: | 2012-09-11 08:30:20 |
Date Created: | 2012-04-20 10:50:20 |