IBM Support

PI70090: WebSphere Liberty "server" and native launcher handle a # in the middle of a JVM property inconsistently

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Given a jvm.options file with this single line
    -Dtest.property=before#after
    when the Liberty server is started via the server script, a
    javacore shows the property as "test.property=before#after",
    but when started via the native launcher, the javacore shows
    the property as "test.property=before".
    The method of starting the server should not affect how WAS
    interprets the JVM properties, so the the native launcher is
    expected to handle a property value containing an octothorpe
    (#) in the same way as the server script does.
    

Local fix

  • Start the server via the server script to ensure the property
    is properly parsed at startup.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty for z/OS                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Lines in jvm.options that specify a #   *
    *                      character inside an option or property  *
    *                      name are interpreted as comments.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following is an example of a valid line in jvm.options:
    -Dmy.option=one#two
    When starting the server using the 'BBGZSRV' proc, this is being
    incorrectly interpreted as my.option=one.  The # character and
    everything after it is treated as a comment.  When starting the
    server using the 'server' script, the property is correctly
    interpreted.
    

Problem conclusion

  • Code was added to treat the # character as a valid character in
    jvm.options when it is embedded in an option or property.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 16.0.0.4.  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

    PI70090

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-03

  • Closed date

    2016-10-14

  • Last modified date

    2016-10-14

  • 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

    LIBERTY PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"850"}]

Document Information

Modified date:
06 September 2021