IBM Support

PI66291: ILLEGALARGUMENTEXCEPTION WHEN ENABLING HPEL WITH TEXT LOGGING DISABLED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After enabling HPEL for a server, while at the same time
    disabling (unchecking) text logging under "Configure HPEL text
    log", the server reported the following exception when
    restarted:
    
    
    java.lang.IllegalArgumentException: Specified location can't be
    used as a log repository: /tmp/xyz
    at com.ibm.ws.runtime.mbean.HPELControlServiceMBean.verifyOwners
    hip(HP ELControlServiceMBean.java:113)
    at com.ibm.ws.runtime.component.RASImpl.boot(RASImpl.java:379)
    at com.ibm.ws.runtime.WsServerImpl.bootLoggingServices(WsServerI
    mpl.java:391)
    ...
    
    Where /tmp/xyz is a directory specified on the "Configured HPEL
    text log" panel.
    
    The path /tmp/xyz does not exist and have not been yet created
    because text log was never enabled.  However, the code is still
    looking at this path even though it is not needed.
    

Local fix

  • 1 - manually create the HFS path that text logging needs/expects
    OR
    2 - a. In the admin console, enable text logging under
           "Configure HPEL text log",
        b. Save, synchronize and restart the server.  This will
           cause  the path to be created.
        c. Go back to admin console to disable the text logging.
        d. Save, synchronize and restart the server.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5 and V9.0                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: Fail to start server after enbaling     *
    *                      HPEL text log                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Server fails to start after switched to HPEL logging mode
    with HPEL Text logging disabled but configured the
    text log directory to an non-exist directory
    An IllegalArgumentException is logged in the server native log
    for invalid text log directory.  For example,
    java.lang.IllegalArgumentException: Specified location can't be
    used as a log repository: /tmp/xyz
    at
    com.ibm.ws.runtime.mbean.HPELControlServiceMBean.verifyOwners
    hip(HP ELControlServiceMBean.java:113)
    at com.ibm.ws.runtime.component.RASImpl.boot(RASImpl.java:379)
    at
    com.ibm.ws.runtime.WsServerImpl.bootLoggingServices(WsServerI
    mpl.java:391)
    

Problem conclusion

  • We have added a condition check to see whether the HPEL Text
    logging is enabled before verifing the ownership of the test
    log directory to aviod the IllegalArgumentException. If the
    HPEL Text logging is enabled and the text log directory
    doesn't exist, it will be automatic created.
    
    APAR PI66291 is currently targeted for inclusion in Fix Packs
    8.5.5.12 and 9.0.0.3 of WebSphere Application Server.
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    In addition, please refer to URL:
    http://www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack PTF information.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI66291

  • 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

    2016-07-21

  • Closed date

    2016-11-28

  • Last modified date

    2016-11-28

  • 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:
16 October 2021