IBM Support

PH49234: ATTACH FAILS ON Z/OS RUNNING JAVA 11 WHEN A STARTED TASK IS USED TO START A SERVER SPECIFYING THE LOCALCONNECTOR-1.0 FEATURE.

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

  • A java.lang.reflect.InvocationTargetException caused by
    com.sun.tools.attach.AttachNotSupportedException FFDC occurs on
    started task is used to start a server specifying the localConne
    
    
    
    Exception = java.lang.reflect.InvocationTargetException
    
    Source = com.ibm.ws.jmx.connector.local.LocalConnectorActivator$
    
    probeid = 139
    
    Stack Dump = java.lang.reflect.InvocationTargetException
    
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invok
    
    at
    java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(N
    62)
    
    ...
    
    Caused by: com.sun.tools.attach.AttachNotSupportedException: tar
    
    at
    com.ibm.tools.attach.attacher.OpenJ9VirtualMachine.attachTargetI
    :150)
    
    at
    com.ibm.tools.attach.attacher.OpenJ9VirtualMachine.lambda$attach
    .java:128)
    
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server for z/OS Liberty                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When running on z/OS with Java 11 a     *
    *                      AttachNotSupportedException occurs      *
    *                      when a started task is used to start    *
    *                      a server that specifies the             *
    *                      localConnector-1.0 feature.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When running on z/OS with Java 11 a
    java.lang.reflect.InvocationTargetException caused by
    com.sun.tools.attach.AttachNotSupportedException FFDC occurs
    when a started task is used to start a server specifying the
    localConnector-1.0 feature.
    Exception = java.lang.reflect.InvocationTargetException
    Source = com.ibm.ws.jmx.connector.
    local.LocalConnectorActivator$LocalConnectorHelper$1
    probeid = 139
    Stack Dump = java.lang.reflect.InvocationTargetException
    at
    java.base/jdk.internal.reflect.NativeMethodAccessorImpl.
    invoke0(Native Method)
    ...
    Caused by: com.sun.tools.attach.AttachNotSupportedException:
    target 67174842 not found
    at
    com.ibm.tools.attach.attacher.OpenJ9VirtualMachine.
    attachTargetImpl(OpenJ9VirtualMachine.java:150)
    ...
    

Problem conclusion

  • Updated the launcher code to specify
    
    
    
    -Dcom.ibm.tools.attach.enable=yes
    
    
    
    The fix for this APAR is targeted for inclusion in fix pack
    
    22.0.0.10. For more information,
    
    see 'Recommended Updates for WebSphere Application Server':
    
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

  • The exception can be avoided by adding
    
    
    
    -Dcom.ibm.tools.attach.enable=yes
    
    
    
    to the server's jvm.options file.
    

Comments

APAR Information

  • APAR number

    PH49234

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-02

  • Closed date

    2022-09-14

  • Last modified date

    2022-09-16

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSD28V","label":"WebSphere Application Server Liberty Core"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"CD0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 September 2022