AIOps

AIOps

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#ITAutomation
#AIOps
#CloudPakforAIOps
#AIOps

 View Only
Expand all | Collapse all

"Cannot instantiate class" error on Message Bus probe trying connect to JMS

  • 1.  "Cannot instantiate class" error on Message Bus probe trying connect to JMS

    Posted Mon January 11, 2021 10:56 PM

    The probe could not start, and see following errors:

    "2020-12-22T15:03:18: Error: E-JPR-000-000: Received NamingException while connecting: Cannot instantiate class: org.apache.activemq.jndi.ActiveMQInitialContextFactory

    2020-12-22T15:03:18: Error: E-JPR-000-000: Fail to start Transport module for connection"



    #Netcool
    #Support
    #SupportMigration


  • 2.  RE: "Cannot instantiate class" error on Message Bus probe trying connect to JMS
    Best Answer

    Posted Mon January 11, 2021 10:58 PM

    Above error can be caused by missing the jar file.

    User need download the jar file for the JMS, normally you can obtain the jar file from JMS server side.

    Then you need put the jar file(s) in $OMNIHOME/probes/java/nco_p_message_bus.env.

    CLASSPATH=$CLASSPATH:${OMNIHOME}/java/log4j-1.2.8.jar

    CLASSPATH=$CLASSPATH:${OMNIHOME}/java/slf4j/slf4j-api-1.7.21.jar

    CLASSPATH=$CLASSPATH:${OMNIHOME}/java/activemq-all-5.15.3.jar



    #Netcool
    #Support
    #SupportMigration