IBM Support

IV71295: EXCEPTION 'ACCESS DENIED' FOR ACTION 'CREATEACCESSCONTROLCONTEXT' FOR PERMISSION 'JAVA.SECURITY.SECURITYPERMISSION' AFTER APPLYI

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The exception detailed below is thrown.
    .
    Stack Trace: java.security.AccessControlException: Access denied
    ("java.util.PropertyPermission" "java.home" "read") due to
    untrusted AccessControlContext since
    ("java.security.SecurityPermission"
    "createAccessControlContext") is deniedat
    java.security.AccessController.throwACEat
    java.security.AccessController.checkPermissionHelperat
    java.security.AccessController.checkPermissionat
    java.lang.SecurityManager.checkPermissionat
    java.lang.SecurityManager.checkPropertyAccessat
    java.lang.System.getPropertyat java.lang.System.getPropertyat
    pr87596.Test2$ClassWithPermission$3.runat
    java.security.AccessController.doPrivilegedat
    pr87596.Test2$ClassWithPermission.fooat
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at
    sun.reflect.NativeMethodAccessorImpl.invokeat
    sun.reflect.DelegatingMethodAccessorImpl.invokeat
    java.lang.reflect.Method.invokeat pr87596.Test2.main
    .
    

Local fix

Problem summary

  • A change was introduced via APAR IV68824, such that, the jvm was
    checking whether the current context has the
    createAccessControlContext permission, even when a security
    manager was not active.
    

Problem conclusion

  • The jvm has been modified to treat AccessControlContexts that
    are created when a security manager is not enabled as trusted.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP4  (6.0.16.4)
       7    SR9       (7.0.9.0)
       6 R1 SR8 FP4   (6.1.8.4)
       7 R1 SR3       (7.1.3.0)
       8    SR1       (8.0.1.0)
       5.0  SR16 FP10 (5.0.16.10)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV71295

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-22

  • Closed date

    2015-03-24

  • Last modified date

    2015-03-24

  • APAR is sysrouted FROM one or more of the following:

    IV71293

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3W","label":"Virtual Machine"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
24 March 2015