IBM Support

IX90129: WHEN SECURITY MANAGER IS ENABLED JAVA.SECURITY.ACCESSCONTROLEXCE PTION IS SEEN

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: When Security Manager is enabled
    java.security.AccessControlException is seen while loading
    application class
    .
    Stack Trace: java.security.AccessControlException: Access denied
    (java.lang.RuntimePermission getClassLoader) \
    at
    java.security.AccessController.throwACE(AccessController.java:10
    0) \
    at
    java.security.AccessController.checkPermission(AccessController.
    java:174) \
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:5
    44) \
    at
    com.ibm.ws.security.core.SecurityManager.checkPermission(Securit
    yManager.java:208) \
    at com.ibm.rmi.util.ClassCache.checkAccess(ClassCache.java:65) \
    at com.ibm.rmi.util.ClassCache.get(ClassCache.java:71) \
    at
    com.ibm.CORBA.iiop.UtilDelegateImpl.loadClass(UtilDelegateImpl.j
    ava:673) \
    at javax.rmi.CORBA.Util.loadClass(Util.java:252) \
    at com.ibm.rmi.util.Utility.loadClassOfType(Utility.java:847) \
    at
    com.ibm.rmi.util.RepositoryId.loadClass(RepositoryId.java:693) \
    at
    com.ibm.rmi.util.RepositoryId.checkClassCache(RepositoryId.java:
    667) \
    at
    com.ibm.rmi.util.RepositoryId.getClassFromType(RepositoryId.java
    :656) \
    at
    com.ibm.rmi.iiop.CDRReader.fast_read_value(CDRReader.java:2044)
    \
    at
    com.ibm.rmi.iiop.CDRReader.fast_read_abstract_interface(CDRReade
    r.java:2231) \
    at
    com.ibm.rmi.iiop.CDRReader.fast_read_abstract_interface(CDRReade
    r.java:2217) \
    .
    NA
    

Local fix

  • Add following permission in
    <WAS_InstallRoot>\java\jre\lib\security\java.policy.
    grant{
    ...
    permission java.lang.RuntimePermission 'getClassLoader','read';
    ...
    }
    

Problem summary

  • Incorrect security checks resulted in
    java.security.AccessControlException
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 SR7
    7.0.0 SR6
    6.0.0 SR15
    5.0.0 SR16 FP4
    .
    Corrected the security check logic
    

Temporary fix

Comments

APAR Information

  • APAR number

    IX90129

  • Reported component name

    ORB

  • Reported component ID

    620700123

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-11

  • Closed date

    2013-10-11

  • Last modified date

    2013-10-18

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

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

    IV50751

Fix information

  • Fixed component name

    ORB

  • Fixed component ID

    620700123

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP



Document information

More support for: Runtimes for Java Technology
ORB

Software version: 260

Reference #: IX90129

Modified date: 18 October 2013