Splunk Search

Why am I getting jms_ta errors?

sbattista09
Contributor
Unable to initialize modular input "jms" defined inside the app "jms_ta": Introspecting scheme=jms: script running failed (exited with code 1).

I did change the home path yet i am still seeing the error above
.

  if (not os.environ.has_key('JAVA_HOME')):
         JAVA_EXECUTABLE = '/d01/app/java'
      else:
         JAVA_EXECUTABLE = os.path.expandvars('$JAVA_HOME') + "/bin/java"

what else is needed to resolve this problem?

Tags (1)
0 Karma
1 Solution

sbattista09
Contributor

java was installed in a different place so the default location needed to be changed.

View solution in original post

0 Karma

sbattista09
Contributor

java was installed in a different place so the default location needed to be changed.

0 Karma

Damien_Dallimor
Ultra Champion

Nowhere in the documentation does it say to change jms.py in this manner.

Ensure either a) java is on the path or b) the JAVA_HOME env variable is set for the OS user running the SplunkD process.

I suggest following the documentation.

The Troubleshooting section is also useful.

sbattista09
Contributor

still getting this error after reinstalling the app, "Unable to initialize modular input "jms" defined inside the app "jms_ta": Introspecting scheme=jms: script running failed (exited with code 1)." i dont see any documentation in your comment.

0 Karma

Damien_Dallimor
Ultra Champion

Documentation , it is conveniently located on the download page.

Perahaps ask your system admin to help you with :

Ensure either a) java is on the path
or b) the JAVA_HOME env variable is
set for the OS user running the
SplunkD process.

splunk_ankman
Explorer

I am getting this error :

09-11-2017 06:35:31.406 +0100 ERROR ExecProcessor - message from "python /apps/pcbsplunk/splunk/etc/apps/jms_ta/bin/jms.py" ... 12 more
host = gbrpsr000003527 source = /apps/pcbsplunk/splunk/var/log/splunk/splunkd.log sourcetype = splunkd
11/09/2017
06:35:31.406
09-11-2017 06:35:31.406 +0100 ERROR ExecProcessor - message from "python /apps/pcbsplunk/splunk/etc/apps/jms_ta/bin/jms.py" at com.splunk.HttpService.send(HttpService.java:367)
host = gbrpsr000003527 source = /apps/pcbsplunk/splunk/var/log/splunk/splunkd.log sourcetype = splunkd
11/09/2017
06:35:31.406
09-11-2017 06:35:31.406 +0100 ERROR ExecProcessor - message from "python /apps/pcbsplunk/splunk/etc/apps/jms_ta/bin/jms.py" at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
host = gbrpsr000003527 source = /apps/pcbsplunk/splunk/var/log/splunk/splunkd.log sourcetype = splunkd
11/09/2017

Raghav2384
Motivator

@sbattista09 , We had the same message couple of weeks ago....We just ran java service and Splunk with proper permissions and it worked like charm...kinda what Damien said above.

Thanks,
Raghav

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...