SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 20656: An HTTP 403 error occurs when you run a stored process using a WebLogic server with Web authentication

DetailsHotfixAboutRate It

If you attempt to run a stored process using the SAS® Stored Process Web 
Application on a WebLogic server that is configured to use Web 
authentication, you might receive the following error message: 
 
  You are not authorized to view this page 
 
  You might not have permission to view this directory 
  or page using the credentials you supplied. 
 
  HTTP Error 403 - Forbidden 
 
But, if you refresh the window in your Web browser, the stored process 
request should run successfully. 
 
If you experience this problem, then as a workaround, you can use the 
following Redirect_STP.jsp servlet.  Follow these steps to use this 
servlet. 
 
   1. Save the Redirect_STP.jsp file on your WebLogic server. 
      For example, save it to: 
 
         ... /SASStoredProcess/jsp/examples/Redirect_STP.jsp 
 
   2. Invoke the Redirect_STP.jsp servlet, passing the same 
      parameters that you would pass if you were calling the 
      SASStoredProcess servlet.  For example: 
 
         http://a.b">http://a.b">http://a.b">http://a.b:7001/SASStoredProcess/jsp/examples/Redirect_STP.jsp? 
         _program=/Samples/Stored+Processes/Sample:+Hello+World 
 
   3. The request is redirected to the SASStoredProcess Servlet. 
      For example, it is redirected to: 
 
         http://a.b">http://a.b">http://a.b">http://a.b:7001/SASStoredProcess/do? 
         _program=/Samples/Stored+Processes/Sample:+Hello+World 
 
----------------------------------------------------------------------- 
 
<%-- Redirect_STP.jsp servlet      --%> 
 
&ltHTML> 
&ltHEAD> 
 
<%-- This script redirects a request to the Stored Process Server   --%> 
 

<%-- Example Request                                                --%> 
 
<%--http://a.b">http://a.b">http://a.b">http://a.b:7001/SASStoredProcess/jsp/examples/Redirect_STP.jsp? --%> 
<%-- _program=/Samples/Stored+Processes/Sample:+Hello+World         --%> 
 
<% 
 String QueryString = request.getQueryString(); 
 
 String Request = "/SASStoredProcess/do?"+QueryString; 
%> 
 
&ltTITLE&gtMETA HTTP-EQUIV Refresh CONTENT</TITLE> 
 

&ltMETA HTTP-EQUIV="Refresh" NAME="NULL" CONTENT="0; URL= <%= Request %>"> 
 
</HEAD> 
</HTML 




Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS Integration TechnologiesMicrosoft Windows XP Professional9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M3 SP19.2 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows XP 64-bit Edition9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows 2000 Server9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M3 SP19.2 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M3 SP19.2 TS1M0
Linux9.1 TS1M3 SP19.2 TS1M0
64-bit Enabled Solaris9.1 TS1M3 SP19.2 TS1M0
Linux on Itanium9.1 TS1M3 SP19.2 TS1M0
64-bit Enabled HP-UX9.1 TS1M3 SP19.2 TS1M0
HP-UX IPF9.1 TS1M3 SP19.2 TS1M0
64-bit Enabled AIX9.1 TS1M3 SP19.2 TS1M0
Tru64 UNIX9.1 TS1M3 SP19.2 TS1M0
* 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.