All Apps and Add-ons

Unable to connect to JMX server from splunk addon for java management extension

jaisonvj
New Member

i have setted the java environment correctly. both $PATH and $JAVA_HOME are accessible. i am able to connect to jmx server with same url,username,password from jconsole. but i am unable to connect from splunk addon for jmx. below thing i found from  $SPLUNK_HOME/var/log/splunk/jmx.log

2023-11-26 16:03:54,246 WARNING pid=13767 tid=MainThread file=jmx.py:<module>:86 | Failed to open the invoke the input. Reason: Traceback (most recent call last):
File "/opt/splunk/etc/apps/Splunk_TA_jmx/bin/jmx.py", line 82, in <module>
java_const.JAVA_MAIN_ARGS
File "/opt/splunk/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/opt/splunk/lib/python3.7/subprocess.py", line 1567, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'java': 'java'


Labels (1)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Are you sure you set the environment variables for the Splunk service? How did you do that?

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...