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?
java was installed in a different place so the default location needed to be changed.
java was installed in a different place so the default location needed to be changed.
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.
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.
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.
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
@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