I'm trying to monitor weblogic data through Jms modular inputs, Please provide required configurationsteps .
After given below details, i'm getting exception.
[jms://queue/SplunkQueue ]
activation_key=
browse_mode = all
browse_queue_only = 0
durable = 0
index = main
index_message_header = 0
index_message_properties = 0
init_mode = jndi
jms_connection_factory_name = SplunkQConnectionFactory
jndi_initialcontext_factory = weblogic.jndi.WLInitialContextFactory
jndi_provider_url =
strip_newlines = 0
jndi_user =
jndi_pass =
disabled = 0
browse_frequency = -1
hec_batch_mode = 0
hec_https = 0
output_type = stdout.
*Java home is correct.
*Python file modified according to java home path.
Error:
exception
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" Stanza jms://queue/:SplunkQueue : Error connecting : javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
Perhaps you did not copy the Weblogic jars to jms_ta/bin/lib
(as per the docs).
Even after copying Wljmxclient.jar file to jms_ta/bin/lib still we getting same exception.
Error what i'm getting
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" Stanza jms://queue/:SOA_A2A : Error connecting : javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
After Add WlFULLCLIENT.Jar file jms_ta/bin/lib
Exception :
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" It has been determined via the REST API that all inputs have been disabled
Thanks in advance
Thats not an error. Thats a standard log statement when you disable your JMS inputs.
I unable see data on particular sourcetype. and also unable to figure out exact exception logs.
Please help me to resolve this.
Thanks in advance.
Errors:
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:137)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:531)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:248)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.jndi.internal.RootNamingNode.lookup(RootNamingNode.java:81)
+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jms_ta\bin\jms.py"" at weblogic.jndi.internal.ServerNamingNode.lookup(ServerNamingNode.java:584)
Maybe that required class is in a different jar : https://blogs.oracle.com/weblogicserver/managing-weblogic-servers-with-jconsole
wlclient.jar ? wlfullclient.jar ?
WlClient.jar