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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Painting a Clearer Picture: Creating Cross-Domain Visibility with AI Canvas

    Thursday, June 25, 2026  |  11AM PDT / 2PM EDT  Duration: 1 Hour (Includes live Q&A) Register to ...

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...