IBM Support

PH42407: THE SNMP AGENT SCRIPT, SNMPAGENT.SH, USES AN INCORRECT PATH FOR THE JAVA CLASS WHEN USED WITH THE -DEBUG OPTION

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

  • When the SNMP Agent is started with syntax of:
    
    snmpagent.sh -debug
    
    the following error is observed:
    Error: A JNI error has occurred, please check your installation
    and try again
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com.sun.management.snmp.agent.SnmpMib
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    

Local fix

  • ITXCQ - ITX00061124
    TR / TR
    Circumvention: Edit the snmpagent.sh script and locate the
    section of this script that has the following content (near the
    bottom of the file):
    
    # For debugging purposes uncomment the one of the next two lines
    and comment the following one
    #        $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_ALL
      com.ibm.snmpagent.websphere.dtx.core.DstxSNMPA
    #        $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_MISC
      com.ibm.snmpagent.websphere.dtx.core.DstxSNMPA
           $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_ADAPTOR_SNMP
    
    Edit these three (3) $JAVA entries to be
    
    #        $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_ALL
      com.ibm.websphere.dtx.snmpagent.core.DstxSNMPA
    #        $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_MISC
      com.ibm.websphere.dtx.snmpagent.core.DstxSNMPA
           $JAVA $SNMPAGENT_LOG_PROP_FILE_DEFINE -DINFO_ADAPTOR_SNMP
      com.ibm.websphere.dtx.snmpagent.core.DstxSNMPA
    

Problem summary

  • Users Affected:
    IBM Transformation Extender users using SNMP Agent
    
    Problem Description:
    SNMP Agent snmpagent.sh script uses an incorrect path for the
    Java class for the -debug option
    
    Platforms Affected:
    All Unix
    

Problem conclusion

  • Corrected java path for java class for the debug option in SNMP
    Agent script snmpagent.sh.
    
    Applies to:
    9.0.0.4, 10.0.0.0, 10.1.0.1, 10.1.1.0
    
    Fixed in the next service packs and releases.
    
    To obtain the fix for this APAR:
    
    To see if the next service pack or product release is available,
    check the IBM Transformation Extender Release Notes page:
    https://www.ibm.com/support/docview.wss?uid=swg27008337
    
    If the service pack or product release is available, download it
    from Fix Central:
    http://www.ibm.com/support/fixcentral/
    
    If the service pack or product release is not available and you
    require the APAR fix immediately, request a Limited Availability
    Interim Fix (LAIF) by opening a case:
    https://www.ibm.com/mysupport/
    
    Prior to version 9.0.0, IBM Transformation Extender was called
    IBM WebSphere Transformation Extender.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42407

  • Reported component name

    ITX

  • Reported component ID

    5724Q2300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-29

  • Closed date

    2022-05-26

  • Last modified date

    2022-06-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

    ITX

  • Fixed component ID

    5724Q2300

Applicable component levels

[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSD8","label":"Transformation Extender"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A10"}]

Document Information

Modified date:
18 June 2022