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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...