JMX Input Plugin - Error in connecting to Weblogic JMX

Hi there,

I am using the JMX Input Plugin and trying to connect to a Weblogic JMX service URL and getting the following error:

[ERROR][logstash.inputs.jmx] "failed to retrieve RMIServe stub: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial

[ERROR] [logstash.inputs.jmx] (javax/management/remote/rmi/

my service URL looks like this:


I am unable to open this URL in jConsole to test it is correct, as I believe I have to pass through a JAR file when launching jConsole.
Should I need to place a JAR file somewhere in logstash to get the above service URL working?
If so, what location should this typically go in?

Ideally, I would like to avoid having to add/include any jar files and keep my config simple.

Many thanks in advance for any advice.


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.