IBM Support

PM25896: .PF FILES IN THE JAVA/LIB/CMM OR JAVA64/LIB/CMM CANNOT BE ACCESSED VIA A CALL THAT DOES NOT SUPPLY THE ABSOLUTE PATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The .pf files in the java/lib/cmm or java64/lib/cmm
    cannot be accessed via a call that does not supply the absolute
    path.  However, there are several functions that can use these
    .pf files which do not take a file name parameter.  Also, these
    files can be called under the covers by several different
    functions.
    
    This behavior was introduced due to a security fix added to Java
    (Sun bug 6631533).
    
    Some of the errors seen could be are:
    
    java.io.IOException: Cannot open file sRGB.pf
    at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:970)
    
    or
    
    java.lang.IllegalArgumentException:
    Can't load standard profile: GRAY.pf
    at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:926)
    
    or
    
    java.lang.NullPointerException
    at java.awt.color.ICC_Profile.intFromBigEndian(ICC_Profile.java)
     at
    java.awt.color.ICC_Profile.getProfileClass(ICC_Profile.java:1169
    

Local fix

  • 1. If the application directly calls a .pf file using the file
       name use the absolute path of the .pf file for the call.
    
    2. If the application calls the .pf files indirectly please do
       the following:
    
    a. cd to /WAS_HOME/AppServer/java64/lib/cmm or
       WAS_HOME/AppServer/java/lib/cmm directory depending on if you
       are running in 64 bit mode or not.
    
    b. Issue the ls -E command
    
    c. The display above should show the symlinks and the actual
       file they reference
    
    d. The path given after the -> should be where the actual .pf
       file is located.  However, you should check this by issuing
       the ls -E in the directory given for the symlink reference.
    
    e. Remove the symlink using the rm command.
    
    f. From the WAS_HOME/AppServer/java64/lib/cmm or
       WAS_HOME/AppServer/java/lib/cmm directory copy the real .pf
       file using the cp command.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server for z/OS V6.1.0                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Unable to access the .pf files in       *
    *                      java/lib/cmm or java64/lib/cmm within   *
    *                      a WebSphere for z/OS V6.1.0             *
    *                      configuration image                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In IBM WebSphere Application Server for z/OS Service Level
    (Fix Pack) 6.1.0.35 the .pf files in the java/lib/cmm or
    java64/lib/cmm path cannot be accessed on a call that does not
    supply the absolute path.
    

Problem conclusion

  • The script file that creates the symbolic links in the
    configuration file system was updated to copy the .pf files
    into the target configuration image (rather than generating
    symbolic links to these files). The presence of the actual
    files (rather than symbolic links to the files) in the
    configuration image resolves the problem. A post-install
    action was also provided to replace the symbolic links for
    these files with a copy of the actual files on existing
    configuration images.
    
    APAR PM25896 is currently targeted for inclusion in
    Service Level (Fix Pack) 6.1.0.37 of WebSphere
    Application Server V6.1
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM25896

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-11-04

  • Closed date

    2011-02-17

  • Last modified date

    2011-05-02

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

    PM17433

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

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R610 PSY UK65883

       UP11/04/06 P F104

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 October 2021