WebLogic JMX API Example: Print WebLogic serverStart properties using Java serverStartMbean

 

The Java code mentioned in this post connects to WebLogic server and prints all the WebLogic serverStart properties using serverStartMbean object

 

Note: Add the C:\middleware1213\wlserver\server\lib\wljmxclient.jar if you connect to the WebLogic Server remotely

 

The WebLogic serverStart can be referred in the JConsole below:

 

Supported WebLogic ServerStart Attributes & Operations

 

122317_0506_WebLogicJMX1 WebLogic JMX API Example: Print WebLogic Server Start properties using Java serverStartMbean

 

The below Java code Prints all the WebLogic serverstart Properties using serverStartMBean

 

 

OutPut: 

 

Server Instance=com.bea:Name=AdminServer,Location=AdminServer,Type=ServerRuntimeAdminServer
com.bea:ServerRuntime=AdminServer,Server=AdminServer,Type=ServerStart
Arguments =-Dprimavera.bootstrap.home=c:\
ClassPath =null
BootProperties = {password={AES}AFNJvIl4wRQ9vaxgx75xHckZaL/jW0Mw0ZirL50kP7o=, TrustKeyStore=DemoTrust, username={AES}4OtynMy6IX2WVVgnFQB56gOOdEnhq24rmQshnkC0FNA=}
JavaHome = null
RootDirectory = null
Name = AdminServer
SecurityPolicyFile = null
Type = ServerStart
BeaHome = null
Username =
MWHome = null
Username =
JavaVendor = null
Username =
StartupProperties = {AutoRestart=true, RestartMax=2, SSLArguments=-Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false, RotationType=bySize, RotationTimeStart=00:00, RotatedFileCount=7, RestartDelaySeconds=0, Arguments=-Dprimavera.bootstrap.home=c:\, FileSizeKB=500, FileTimeSpanFactor=3600000, RestartInterval=3600, NumberOfFilesLimited=true, FileTimeSpan=24}

 

 

govindan WebLogic JMX API Example: Print WebLogic Server Start properties using Java serverStartMbean
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 JMX API Example: Print WebLogic Server Start properties using Java serverStartMbean
Connect me
By | 2017-12-23T00:28:16+00:00 December 23rd, 2017|Categories: WebLogic|Tags: |Comments Off on WebLogic JMX API Example: Print WebLogic Server Start properties using Java serverStartMbean
Like us on Facebook.
Connect!