Building for the Splunk Platform

errors on poll_jmx.sh

amadri0238c
New Member

I got this error, what are the step I need to resolve this issue:

2012-04-11 14:52:56,974 ERROR [Thread-2] host=localhost, jmxServiceURL=, jmxport=7199, jvmDescription=cassandra, processID=0,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]"
2012-04-11 17:27:21,466 ERROR [Thread-2] host=localhost, jmxServiceURL=, jmxport=7199, jvmDescription=cassandra, processID=0,systemErrorMessage="Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused]"

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

First of all , have you followed the configuration instructions in the documentation ? There is a README and a PDF user guide.

Based on the above messages(it looks like you haven't configured your config.xml file and are just using the shipped example settings) :

1) Is the JMX remote connector enabled on your target JVM ?
2) Have you setup your config.xml file correctly (host, jmxport, optionally the jmxuser/jmxpass)

0 Karma
Get Updates on the Splunk Community!

Security Highlights: September 2022 Newsletter

 September 2022 The Splunk App for Fraud Analytics (SFA) is now Splunk SupportedUse your existing Splunk ...

Platform Highlights | September 2022 Newsletter

 September 2022 What’s New in 9.0 and How to UpgradeGet a walk through of what is new Splunk Enterprise 9.0 ...

Observability Highlights | September 2022 Newsletter

 September 2022 Splunk Observability SuiteAccess to "Classic" SignalFx Interface Will be Removed on Sept 30, ...