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.RMIConnector.connect (javax/management/remote/rmi/RMIConnector.java:369)
my service URL looks like this:
service:jmx:iiop://IP:PORT/jndi/weblogic.management.mbeanservers.runtime
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.
Cheers