Weblogic Application Deployment Parser

Let me introduce  Weblogic Application Deployment Parser , A tool designed to list all the application (app-deployment) configuration from the config.xml file of weblogic. It uses the same core of Weblogic Config XML Reader you can find it here

Though there are  weblogic.Admin and WLST ways to get the deployed applications in the runtime.

This tool would be a real help to read through the config.xml and display what app-deployments are there.

It has also been enfolded with  Excel Reporting feature. Yes, you can dump the data in XLSX file. Here is the sample

screen-shot-2017-12-06-at-6-24-53-pm

 

Not just that,  It obviously designed with a well console format display. Here is the sample

screen-shot-2017-12-06-at-6-32-39-pm

 

Is not that Interesting ?.

 

What is this script all about ?

This is a python script designed to parse config.xml file of weblogic , It will display the result in console as well as dump it as XLSX(Excel) Report.

 

Is there any prerequisites ?

Yes, you should be having python2.7+ installed with xlsxwriter

you can install xlsxwriter using pip  pip install xlsxwriter  for more information on xlsxwriter  go here

 

Which weblogic server version does it work with ?

I have tested this and found to be working with Weblogic 9, 10g, 11g, 12c

 

How to use it ?

copy this script and save it with .py extension and make sure it has 755 (or) executable permission and undoubtedly you should have config.xml file some where in your filesystem.

 

./get_wls_apps.py config.xml

or

python get_wls_apps.py config.xml
Note*: It is not advised to execute this script on the live config.xml file at the domainname/config/config.xml

 

Well, That's it with bla bla bla.  Here is the script, for your convenience I have given both XL and NON-XL versions here.

The Excel report will be saved in the base directory where your script is saved. app-deployment-info.xlsx would be the file name

 

Here is the script. WITH Excel Reporting Feature

 


Here is the script WITHOUT Excel Feature.

 

For more updates and exclusive contents, please like & follow our page http://www.facebook.com/middlewareinventory

Let me know if there are any questions (or) feedback through the comments section. Would be more than glad to hear.

Hope it helps

A K S A R A V