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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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