Weblogic Config XML reader

Have you ever wanted to get the server configuration information of WebLogic directly from config.xml without using WLST.

wls_01

I recently had the same requirement and spent a little time ( I think ) to create this simple XML parser in python which helped me in reading the config.xml file's content enclosed within server tags.

This reads all the child elements of server tags recursively
and print it as a Key and Value Mappings.

This is how the sample result looks like.

Execution and Result
Execution and Result

Download the script from my github page click here

This script has been tested with WebLogic versions 9,10,11,12c.

Hope it helps.!

Feel free to comment and let me know your feedback!

Cheers,
AkSarav