All Apps and Add-ons

How to monitor weblogic data through JMX or JMS modular Inputs add-on?

New Member

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 ]
activationkey=
browse
mode = all
browsequeueonly = 0
durable = 0
index = main
indexmessageheader = 0
indexmessageproperties = 0
initmode = jndi
jms
connectionfactoryname = SplunkQConnectionFactory
jndiinitialcontextfactory = weblogic.jndi.WLInitialContextFactory
jndiproviderurl =
stripnewlines = 0
jndi
user =
jndipass =
disabled = 0
browse
frequency = -1
hecbatchmode = 0
hechttps = 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]

0 Karma
1 Solution

Ultra Champion

Perhaps you did not copy the Weblogic jars to jms_ta/bin/lib (as per the docs).

alt text

View solution in original post

0 Karma

Ultra Champion

Perhaps you did not copy the Weblogic jars to jms_ta/bin/lib (as per the docs).

alt text

View solution in original post

0 Karma

New Member

Even after copying Wljmxclient.jar file to jms_ta/bin/lib still we getting same exception.

0 Karma

New Member

Error what i'm getting

+0900 ERROR ExecProcessor - message from "python "C:\Program Files\Splunk\etc\apps\jmsta\bin\jms.py"" Stanza jms://queue/:SOAA2A : Error connecting : javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]

0 Karma

New Member

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

0 Karma

Ultra Champion

Thats not an error. Thats a standard log statement when you disable your JMS inputs.

0 Karma

New Member

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.

0 Karma

New Member

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\jmsta\bin\jms.py"" at weblogic.jndi.internal.RootNamingNodeWLSkel.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)

0 Karma

Ultra Champion

Maybe that required class is in a different jar : https://blogs.oracle.com/weblogicserver/managing-weblogic-servers-with-jconsole

wlclient.jar ? wlfullclient.jar ?

0 Karma

New Member

WlClient.jar

0 Karma