Problem Note 20656: An HTTP 403 error occurs when you run a stored process using a WebLogic
server with Web authentication
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 --%>
<HTML>
<HEAD>
<%-- 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;
%>
<TITLE>META HTTP-EQUIV Refresh CONTENT</TITLE>
<META HTTP-EQUIV="Refresh" NAME="NULL" CONTENT="0; URL= <%= Request %>">
</HEAD>
</HTML
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft Windows XP Professional | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Linux | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
64-bit Enabled Solaris | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP1 | 9.2 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP1 | 9.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.
Type: | Problem Note |
Priority: | medium |
Topic: | System Administration ==> Servers ==> Integration Technologies
|
Date Modified: | 2008-10-21 22:25:02 |
Date Created: | 2007-07-24 11:41:38 |