IBM Support

IV61567: UNABLE TO USE NON-PERSISTENT SHARED CLASS CACHE WHEN RUNNING WIT H -XSHARECLASSES:READONLY IF ASSOCIATED SHARED MEMORY HAS READ-O

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: JVMSHRC361E Error while attaching to the shared
    memory during open/createJVMSHRC336E Port layer error code =
    -524888JVMSHRC337E Platform error message: shmat : Permission
    deniedJVMSHRC028E Permission DeniedJVMJ9VM015W Initialization
    error for library j9shr27(11): JVMJ9VM009E J9VMDllMain failed
    .
    Stack Trace: N/A
    .
    

Local fix

  • Modify permission of associated shared memory to make it
    read-write.
    

Problem summary

  • If the permission of shared memory associated with a
    non-persistent shared class cache is read-only, then the JVM
    will not be able to attach to the shared class cache in
    read-only mode via -Xshareclasses:readonly.
    

Problem conclusion

  • The JVM has been updated to attach to the shared memory
    associated with the shared class cache as read-only when
    -Xshareclasses:readonly is specified.
    .
    This APAR will be fixed in the following Java Releases:
       7 R1 SR1 FP1   (7.1.1.1)
       7    SR7 FP1   (7.0.7.1)
       6 R1 SR8 FP1   (6.1.8.1)
       6    SR16 FP1  (6.0.16.1)
    .
    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

    IV61567

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-06-16

  • Closed date

    2014-06-16

  • Last modified date

    2014-07-15

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R270 PSY

       UP

  • R260 PSY

       UP

  • R600 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