IBM Support

IJ28981: COULD NOT START JAVA HEALTHCENTER AGENT AFTER SETTING IBM.SWAPLF SYSTEM PROPERTY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: $ java -Dibm.swapLF=true -Xhealthcenter -version
    ......
    Caused by: java.lang.NullPointerException
            at
    java.security.SecureRandom.nextBytes(SecureRandom.java:471)
            at
    java.security.SecureRandom.next(SecureRandom.java:494)
            at java.util.Random.nextInt(Random.java:340)
            at java.rmi.server.UID.<init>(UID.java:123)
            at java.rmi.server.ObjID.<clinit>(ObjID.java:99)
            ... 5 more
    .
    

Local fix

Problem summary

  • Java could not read properties file properly because misreading
    line separator character if ibm.swapLF system property is true
    on IBM1047 encoding.
    On zOS, 2 line break characters are used Line Feed (LF) (U+000A)
    and Next Line (NL/NEL) (U+0085).
    If the property file has multi line items, it read as single
    line by ibm.swapLF.
    In case of this issue, java could not read
    lib/security/java.security properly.
    

Problem conclusion

  • NL character is treated as line break character by
    java.util.Properties class.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP25  (8.0.6.25)
    .
    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

    IJ28981

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-28

  • Closed date

    2020-12-23

  • Last modified date

    2020-12-23

  • 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

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 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":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022