IBM Support

IJ56482: FAILURE TO CREATE THE SHARED CLASSES CACHE DIRECTORY IN CERTAIN CIRCUMSTANCES

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: JVMSHRC559E Failed to create a directory
    "/u/username/.classCache/" for the shared class cache
    JVMSHRC840E Failed to start up the shared cache.
    .
    Stack Trace: N/A
    .
    The JVM may fail to create the shared classes cache directory if
    a directory in the specified path exists but has restricted
    permissions.
    

Local fix

Problem summary

  • The problem was originally observed on a z/OS system that used
    the Broadcom ACF2 product to control file system access
    permissions. However, similar situations may arise in other ways
    
    
    and on other platforms.
    The original situation reported to IBM was a Java application
    running in an environment that used ACF2. This application
    specified a custom location for the shared classes cache using a
    
    
    Java command line option like this:
    -Xshareclasses:cacheDirPerm=1000,cacheDir=/u/username/.classCach
    
    
    e/
    In this situation, ADD access had been removed for the top level
    
    
    /u directory, and the directory /u/username/ already existed.
    Therefore the JVM needed to create /u/username/.classCache/ and
    the javasharedresources directory inside that. The corresponding
    
    
    mkdir() call failed when ACF2 unexpectedly returned a permission
    
    
    denied error for /u, even though this directory already exists.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IJ56482

  • 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

    2025-10-17

  • Closed date

    2025-10-17

  • Last modified date

    2025-10-21

  • 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

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
21 October 2025