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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...