Usage Note 12991: Java.security.AccessControlException: access denied occurs when invoking
servlet container
When attempting to start a servlet container, such as Tomcat or
Weblogic, the following errors may appear in the servlet container log:
WARN beanutils.MethodUtils - Cannot use JVM pre-1.4 access bug
workaround die to restrictive security manager.
java.security.AccessControlException: access denied
(java.util.PropertyPermission java.io.tmpdir read)
at java.security.AccessControlContext.checkPermission
(AccessControlContext.java:269)
at java.security.AccessController.checkPermission
(AccessController.java:401)
at java.lang.SecurityManager.checkPermission
(SecurityManager.java:524)
at java.lang.SecurityManager.checkPropertyAccess
(SecurityManager.java:1276)
...
** EXCEPTION Examining Context [java.security.AccessControlException:
access denied (java.util.PropertyPermission java.io.tmpdir read)]
To correct the problem, verify that the "startservletcontainer.bat" file
is being used to invoke the servlet container. If the
"startservletcontainer.bat" file is being used, verify that the java
policy file was updated properly with the SAS WIK permissions
information. See the section titled "Prepare the Servlet Container
Environment" in the WIK_README.HTML file for details for the specific
servlet container.
The java policy file for Tomcat is CATALINA.POLICY, which is located in
the Tomcat CONF directory. The java policy file for Weblogic is
WEBLOGIC.POLICY, located in the Weblogic weblogic81\server\lib
directory.
Operating System and Release Information
| SAS System | Apache Jakarta Tomcat | 64-bit Enabled AIX | 4.1.27 | | | |
| Microsoft Windows 2000 Server | 4.1.27 | | | |
| Microsoft Windows NT Workstation | 4.1.27 | | | |
| Microsoft Windows XP Professional | 4.1.27 | | | |
| Microsoft Windows 2000 Professional | 4.1.27 | | | |
| Microsoft Windows 2000 Datacenter Server | 4.1.27 | | | |
| HP-UX | 4.1.27 | | | |
| 64-bit Enabled HP-UX | 4.1.27 | | | |
| Microsoft Windows 2000 Advanced Server | 4.1.27 | | | |
| AIX | 4.1.27 | | | |
*
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.
| Date Modified: | 2009-02-27 11:05:23 |
| Date Created: | 2004-08-04 15:34:17 |