IBM Support

IJ06641: JAVA.LANG.SECURITYEXCEPTION: SHA MESSAGEDIGEST NOT AVAILABLE EXCEPTION WITH CONCURRENT SCAVENGER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The exception may occur when running with
    -Xgc:concurrentScavenge option, while loading security
    providers, but unable to run particular Security Algorithm (SHA
    in this case), even though it's available from the loaded
    provider
    .
    Stack Trace:
    .
    

Local fix

  • This issue can be avoided by removing -Xgc:concurrentScavenge
    option.
    

Problem summary

  • The file stream that loads preferred Security Provider would
    suddenly close, so that default Sun security provider would be
    loaded, which may not support the requested Security Algorithm.
    Underlying problem is missing 'read barrier' in
    Unsafe::compareAndSwapObject, which is used for maintaining file
    stream state.
    

Problem conclusion

  • Unsafe::compareAndSwapObject calls have been updated to call
    properly call read barrier, which in turn will prevent sudden
    closure of open file streams, which in turn will allow to
    properly load files (like Security provider properties) till
    completion.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR5 FP20  (8.0.5.20)
       8    SR5 FP17  (8.0.5.17)
    .
    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

    IJ06641

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-23

  • Closed date

    2018-05-24

  • Last modified date

    2018-05-24

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

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

    IJ06678

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

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

Document Information

Modified date:
22 February 2022