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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...