IBM Support

IJ19886: SOCKET JAVA PROBE FAILING WITH LATEST PROBE-DSL-FRAMEWORK VERSION 4.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Launch the probe on console mode, error which is related to new
    jar from new dsl framework:
    
    C:\IBM\Tivoli\Netcool\omnibus\probe
    s\win32>nco_p_socket_java.bat
    Netcool/OMNIbus NON NATIVE -
    Version 8.1.0
    (C) Copyright IBM Corp. 1994, 2012
    Information:
    Requested to execute in CONSOLE mode
    2019-09-26 10:35:34 Service
    starting in console mode...
    Exception in thread "main"
    java.lang.NoClassDefFoundError: org/apache/camel/spi/Registry
    
    at com.ibm.tivoli.netcool.omnibus.oidk.Probe.start(Unknown
    Source)
     at
    com.ibm.tivoli.netcool.omnibus.oidk.Probe.main(Unknown
    Source)
    Caused by: java.lang.ClassNotFoundException:
    org.apache.camel.spi.Registry
     at
    java.net.URLClassLoader.findClass(Unknown Source)
     at
    java.lang.ClassLoader.loadClass(Unknown Source)
     at
    sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at
    java.lang.ClassLoader.loadClass(Unknown Source)
    

Local fix

  • The nco_p_socket_java.bat should call dsl_framework.bat to
    define CLASSPATH for DSL jars
    
    1) Delete or Comment out line 24
    and 25
    
    set DSLFW_PATH=%OMNIHOME%\probes\java\dsl
    
    set DSLSOCKE
    T_CLASSPATH=%DSLFW_PATH%\DSLFrameworkBase.jar;%DSLFW_PATH%\DSLFr
    ameworkSocket.jar;%DSLFW_PATH%\camel-core-2.15.2.jar;%DSLFW_PATH
    %\camel-netty4-2.15.2.jar;%DSLFW_PATH%\netty-all-4.0.21.Final.ja
    r;%DSLFW_PATH%\slf4j-log4j12-1.6.6.jar;%DSLFW_PATH%\slf4j-api-1.
    6.6.jar;%DSLFW_PATH%\log4j-1.2.17.jar;%DSLFW_PATH%\commons-pool-
    1.6.jar
    
     2) Add the following line before line 17:
    
    REM Set
    CAMEL_CLASSPATH and DSLSTREAM_CLASSPATH as specified for dsl
    framework
    
    call %OMNIHOME%\probes\java\dsl\dsl_framework.bat
    
    
    3) Change line 17:
    
    set
    PROBE_CLASSPATH=%CLASS_DIR%\nco_p_socket_java.jar ------------->
    set PROBE_CLASSPATH=%CLASS_DIR%\nco_p_glf_java.jar;%CAMEL_CLASSP
    ATH%;%DSLSTREAM_CLASSPATH%
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of nco_p_socket_java on Windows platform.          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * After updating DSL Framework, the probe may fail to start    *
    * with error java.lang.NoClassDefFoundError:                   *
    * org/apache/camel/spi/Registry.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * User need to upgrade to nco_p_socket_javae version 1.1.      *
    ****************************************************************
    

Problem conclusion

Temporary fix

  • Modufy nco_p_socket_java.bat to call dsl_framework.bat when
    defining CLASSPATH for DSL jars.
    

Comments

APAR Information

  • APAR number

    IJ19886

  • Reported component name

    MULTI-HEADED SO

  • Reported component ID

    5724P09MH

  • Reported release

    100

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-09-26

  • Closed date

    2019-12-13

  • Last modified date

    2019-12-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCM7SD","label":"Multi-headed socket"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
13 December 2019