IBM Support

IV65477: A JAVA.SECURITY.ACCESSCONTROLEXCEPTION IS THROWN DUE TO A DOMAIN FAILED (JAVA.SECURITY.SECURITYPERMISSION CREATEACCESSCONTROLCON

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: java.security.AccessControlException
    .
    Stack Trace: The stack trace from the application might look
    like following:Caused by: java.security.AccessControlException:
    Access denied (<some permission>)at
    java.security.AccessController.throwACEat
    java.security.AccessController.checkPermissionat
    java.lang.SecurityManager.checkPermissionIf the application
    should have access to <some permission>, re-run the testcase
    with VM command line option "-Djava.security.debug=all", which
    shows the actual failed permission check:"domain that failed
    (java.security.SecurityPermission createAccessControlContext)
    check ProtectionDomain".
    .
    

Local fix

  • Construct AccessControlContext with
    AccessControlContext(AccessControlContext acc, DomainCombiner
    combiner) instead of
    AccessControlContext(ProtectionDomain<OSB><CSB> context) where
    combiner could simply be null.
    

Problem summary

  • This AccessControlException was caused by unnecessary permission
    checking.
    

Problem conclusion

  • The JVM has been updated to remove unnecessary permission
    checks.
    .
    This APAR will be fixed in the following Java Releases:
       6    SR16 FP2  (6.0.16.2)
       5.0  SR16 FP9  (5.0.16.9)
       6 R1 SR8 FP2   (6.1.8.2)
       7    SR8       (7.0.8.0)
       7 R1 SR2       (7.1.2.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, Java maintenance is available
    from:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV65477

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-01

  • Closed date

    2014-10-01

  • Last modified date

    2014-10-01

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

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

    IV65478

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R600 PSY

       UP

  • R260 PSY

       UP

  • R270 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":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 October 2014