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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...