IBM Support

PH09335: MANAGESDK.SH DOESN'T SET USER.INSTALL.ROOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • managesdk.sh should set user.install.root to
    ${USER_INSTALL_ROOT} when invoked.  Since it's not, the user's
    home directory is used as osgi.instance.area.  And this can
    cause managesdk.sh to not work correctly if there is a problem
    with osgi using this (ie, the home directory has a # in it).
    Logs in /WAS_HOME>/AppServer/configuration can show an error
    like this:
    
    !ENTRY org.eclipse.osgi
    !MESSAGE An error occurred while automatically activating
    bundle org.eclipse.emf.ecore (278).
    !STACK 0
    org.osgi.framework.BundleException: Exception in
    org.eclipse.emf.ecore.plugin.EcorePlugin$Implementation.start()
    of bundle org.eclipse.emf.ecore.
    
    Caused by: java.lang.IllegalStateException: The platform
    metadata area could not be written: /u/home/W/.metadata.  By
    default the platform writes its content under the current
    working directory when the platform is launched.  Use the -data
    parameter to specify a different content area for the platform.
    

Local fix

  • use a home directoy osgi can write to
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere                  *
    *                  Application Server V8.5 or V9.0 running on  *
    *                  any unix or z/OS operating system           *
    ****************************************************************
    * PROBLEM DESCRIPTION: Managesdk does not set                  *
    *                      user.install.root properly              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem occurs because the managesdk script does not set
    user.install.root on unix and z/OS operating systems and the
    value that is picked up for that variable, which may be the
    user's home directory, does not comply with osgi directory
    naming conventions.
    

Problem conclusion

  • The managesdk script is updated to include the
    user.install.root variable which is set to the WebSphere user
    install root directory.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs:
    - 8.5.5.16
    - 9.0.5.0
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH09335

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-03-05

  • Closed date

    2019-04-17

  • Last modified date

    2019-04-17

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 October 2021