Security

Why am I getting the JMS modular input error?

arunsundaram
New Member

can someone help me with the below error message

03-14-2018 18:08:27.361 +0100 INFO  ExecProcessor -     interval: run once
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py" Stanza jms://queue/jms://queue/qa54:okicpsmq : Can't instantiate local resource factory :  , java.lang.ClassNotFoundException:
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at java.lang.Class.forName0(Native Method)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at java.lang.Class.forName(Class.java:195)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at com.splunk.modinput.jms.JMSModularInput$MessageReceiver.(Unknown Source)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at com.splunk.modinput.jms.JMSModularInput.startMessageReceiverThread(Unknown Source)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at com.splunk.modinput.jms.JMSModularInput.doRun(Unknown Source)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at com.splunk.modinput.ModularInput.init(Unknown Source)
03-14-2018 18:08:28.059 +0100 ERROR ExecProcessor - message from "python /dnb/prosess/splunk/splunk/etc/apps/jms_ta/bin/jms.py"         at com.splunk.modinput.jms.JMSModularInput.main(Unknown Source)
0 Karma

p_gurav
Champion

Can you verify JAVA CLASSPATH? It looks like a required jar file is not available in the CLASSPATH.

Also, run this command as the same user that you are running Splunk as and observe console output :

"$SPLUNK_HOME/bin/splunk cmd python ../etc/apps/jms_ta/bin/jms.py --scheme"
0 Karma

deepashri_123
Motivator

Hey @arunsundaram,

You can refer this accepted answer:
https://answers.splunk.com/answers/462896/jms-messaging-modular-input-151-how-to-troubleshoo.html

Let me know if this helps!!

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...