Problem Note 45149: An unnecessary HTTP 404 Status message might appear when running a SAS® Stored Process that creates Package Output
If you execute a SAS
® Stored Process that creates Package output and you specify
a _NAMEVALUE value in the SAS Stored Process code, the HTML output might contain
an unnecessary "HTTP 404" status message at the top of the output. In this scenario all of the package output will be displayed correctly, but an extra, unnecessary "HTTP 404" message might appear at the top of the HTML output.
As an example, the following SAS Stored Process code should illustrate this problem.
%let _NAMEVALUE=%str(_DEFAULT_ENTRY=.);
%STPBEGIN;
proc print data=sashelp.class;
run;
%STPEND;
By default the Web browser will display a main.html file that is included in the package.
The _NAMEVALUE option causes the main.html file to not be displayed causing the problem.
You can eliminate the unnecessary "HTTP 404" message by following these steps.
- On your Web Server machine, go to the following Web Server directory:
...\SASServer1\deploy_sas\sas.storedprocess9.2.ear\sas.storedprocess.war\WEB-INF
- Make a backup copy of the web.xml file.
- Edit the web.xml file.
Insert the following in the file (after the last existing </servlet> tag).
<servlet>
<servlet-name>packageheader</servlet-name>
<servlet-class>com.sas.apps.packageviewer.PackageHeaderServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>packageheader</servlet-name>
<url-pattern>/packageheader</url-pattern>
</servlet-mapping>
- Go to the following Web Server directory:
...\SASServer\deploy_sas\sas.storedprocess9.2.ear\sas.storedprocess.war\jsp\html\packageviewer
- Make a backup copy of the PackageTitle.jsp file.
- Edit the PackageTitle.jsp file. Remove the following line:
- Stop your and restart your Application Web Server.
Operating System and Release Information
SAS System | SAS Integration Technologies | z/OS | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows XP 64-bit Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft® Windows® for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Datacenter Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Enterprise Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 Standard Edition | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2003 for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows Server 2008 for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Microsoft Windows XP Professional | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Enterprise 32 bit | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Enterprise x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Home Premium 32 bit | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Home Premium x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Professional 32 bit | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Professional x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Ultimate 32 bit | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows 7 Ultimate x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows Vista | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Windows Vista for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
64-bit Enabled AIX | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
64-bit Enabled HP-UX | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
64-bit Enabled Solaris | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
HP-UX IPF | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Linux | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Linux for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
OpenVMS on HP Integrity | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
Solaris for x64 | 9.21 | 9.2_M2 | 9.2 TS2M3 | 9.2 TS2M3 |
*
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.
If you execute a SAS® Stored Process that creates Package output and you specify
a _NAMEVALUE value in the SAS Stored Process code, the HTML output might contain
an unnecessary "HTTP 404" message at the top of the output (in addition to containing all of the correct output).
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-02-20 12:41:11 |
Date Created: | 2011-12-14 16:28:18 |