IBM Support

IV82715: FAILED TO READ SYSTEM PROPERTY

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: While trying to create a X509Factory instance
    within a doPrivileged method, an AccessControlException is
    thrown if an AccessControlContext with no permission is passed
    as parameter to doPrivileged method.
    .
    Stack Trace: java.security.AccessControlException: Access denied
    ("java.util.PropertyPermission" "os.name" "read")
         at
    java/security/AccessController.throwACE(AccessController.java:12
    5)
         at
    java/security/AccessController.checkPermission(AccessController.
    java:234(Compiled Code))
         at
    java/lang/SecurityManager.checkPermission(SecurityManager.java:5
    63(Compiled Code))
         at
    java/lang/SecurityManager.checkPropertyAccess(SecurityManager.ja
    va:1312(Compiled Code))
         at java/lang/System.getProperty(System.java:430(Compiled
    Code))
         at java/lang/System.getProperty(System.java:414(Compiled
    Code))
         at com/ibm/crypto/provider/X509Factory.<init>(Bytecode
    PC:22)
    .
    

Local fix

Problem summary

  • Issue is no doPrivileged method surrounded to the call to read
    system property
    

Problem conclusion

  • Add doPrivileged method to surround the call to read system
    property.
    The associated RTC PR is 109285
    The associated Austin CMVC defect is 117202
    The associated Austin APAR is IV82269
    JVMs affected : Java 6.0, Java 6.1, Java 7.0, Java 7.1 and Java
    8.0
    The fix was delivered for Java 6.0 SR16 FP25, Java 6.1 SR8 FP25,
    Java 7.0 SR9 FP40, Java 7.1 SR3 FP 40 and Java 8.0 SR3
    The affected jar is "ibmjceprovider.jar".
    The build level of this jar for the affected releases is
    "20160314"
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP40  (7.0.9.40)
       6    SR16 FP25 (6.0.16.25)
       8    SR3       (8.0.3.0)
       6 R1 SR8 FP25  (6.1.8.25)
       7 R1 SR3 FP40  (7.1.3.40)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV82715

  • Reported component name

    SECURITY

  • Reported component ID

    620700125

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-03-15

  • Closed date

    2016-03-18

  • Last modified date

    2016-03-18

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

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

Fix information

  • Fixed component name

    SECURITY

  • Fixed component ID

    620700125

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP

  • R270 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"260","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
07 December 2020