Usage Note 15794: Stored Process web application fails to authenticate users if Tomcat
started improperly
If Tomcat starts from the default Apache Tomcat service that is
installed with Tomcat, attempting to use the SAS Stored Process server
results in user authentication failure.
The error produced if you request a debug trace, for example,
http://yourserver.com:8080/SASStoredProcess/do?_program=
%2FSamples%2FStored+Processes%2FSample%3A+Hello+World&_debug=trace,
is similar to the following:
Disable the default "Apache Tomcat" service.
>>> Using username domain\sasdemo in domain DefaultAuth
>>> Repository Foundation
>>> Parameter file
C:\Tomcat4.1\webapps\SASStoredProcess\Params.config
>>> Stored Process Input Parameters:
_debug = trace
_domain = DefaultAuth
_grafloc = /sasweb/graph
_htcook = JSESSIONID=7231BED42BB26A78660BF3BD0983123F
_htua = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.1.4322)
_program = /Samples/Stored Processes/Sample: Hello World
_repository = Foundation
_reqmeth = GET
_rmtaddr = 159.97.109.134
_rmthost = NAMDCO004
_srvname = namdco004
_srvport = 8080
_url = /SASStoredProcess/do
_username = domain\sasdemo
>>> Servlet Session Data:
Servlet Session ID: B2BE208E6EE7B88080A9654020EFDE69
Counter: 1
Creation Time: Wed Jul 20 13:34:36 EDT 2005
Last Accessed Time: Wed Jul 20 13:34:36 EDT 2005
Servlet Session Timeout: 900
>>> Creating user context
Stored Process Error
Error authenticating user domain\sasdemo
Check username/password and verify authentication server is running.
access denied (com.sas.services.user.CredentialPermission
readCredential ReadCredential)
java.security.AccessControlException: access denied
The problem occurs because the default Tomcat service is not started
with the proper security settings as required by the SAS web
applications.
To resolve this issue, either start your Tomcat server by using the
shortcut that has been created in the SAS application group or refer to
SAS Note #013439 for instructions on creating a SAS-specific Tomcat
service.
Operating System and Release Information
SAS System | Apache Jakarta Tomcat | Microsoft Windows NT Workstation | 4.1.18 | | | |
Microsoft Windows XP Professional | 4.1.18 | | | |
Microsoft Windows 2000 Professional | 4.1.18 | | | |
Microsoft Windows 2000 Advanced Server | 4.1.18 | | | |
Microsoft Windows 2000 Server | 4.1.18 | | | |
Microsoft Windows 2000 Datacenter Server | 4.1.18 | | | |
*
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: | Usage Note |
Priority: | medium |
Date Modified: | 2005-09-30 09:10:33 |
Date Created: | 2005-07-20 14:10:59 |