WebLogic API Example: Iterate and print All WebLogic MBean Properties

 

In this example, I have explained a Java code that lists all MBean properties in WebLogic using WebLogic API 

 

Jar File Required

 

Add the wljmxclient.jar file in your ClassPath. The jar file is present under WL_HOME\server\lib

 

081017_0246_WebLogicJav1 WebLogic API Example: Iterate and print all WebLogic mBean properties

 

WebLogic API Example

 

 

 

 

Sample Output

com.bea:Name=ServiceAccountConfiguration,Location=DefaultServer,Type=com.bea.wli.sb.management.configuration.ServiceAccountConfigurationMBean
com.bea:Name=OraSDPM/Queues/OraSDPMEnginePendingRcvQ,Type=weblogic.j2ee.descriptor.wl.DeliveryFailureParamsBean,Parent=[DefaultDomain]/JMSSystemResources[UMSJMSSystemResource],Path=JMSResource[UMSJMSSystemResource]/Queues[OraSDPM/Queues/OraSDPMEnginePendingRcvQ]/DeliveryFailureParams
com.bea:Name=default_Analytics,SelfTuning=DefaultDomain,Type=WorkManager
com.bea:Type=JMSConsumerRuntime,Location=DefaultServer,Name=consumer935,JMSSessionRuntime=session933,JMSRuntime=DefaultServer.jms,JMSConnectionRuntime=connection814,ServerRuntime=DefaultServer
com.bea:Name=EDNLocalTxDataSource,Location=DefaultDomain,Type=weblogic.j2ee.descriptor.wl.JDBCConnectionPoolParamsBean,Parent=[DefaultDomain]/JDBCSystemResources[EDNLocalTxDataSource],Path=JDBCResource[EDNLocalTxDataSource]/JDBCConnectionPoolParams
com.bea:Name=HCOutboundQueue,Type=weblogic.j2ee.descriptor.wl.MessageLoggingParamsBean,Parent=[DefaultDomain]/JMSSystemResources[SOAJMSModule],Path=JMSResource[SOAJMSModule]/Queues[HCOutboundQueue]/MessageLoggingParams

govindan WebLogic API Example: Iterate and print all WebLogic mBean properties
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply šŸ™‚
govindan WebLogic API Example: Iterate and print all WebLogic mBean properties
Connect me
By | 2017-08-09T22:07:03+00:00 August 9th, 2017|Categories: WebLogic|Tags: , , |0 Comments
Like us on Facebook.
Connect!