The Objective The purpose of this post to share the WLST script which helps in creating a new user in weblogic 11g or 12c and map them to righteous Group for privileges. Like Administrators, Deployers, Monitors etc. Version Compatibility Weblogic 12c (or) 11g The Properties file This is[...]
Read moreCategory: python_scripts
How to hide clear text password CURL
When you are using CURL the problem is that sometimes you would have to compromise on security as it requires you to keep the passwords in clear text. But there is a way we can avoid it and this is post is about "How to Avoid or Hide Sending Clear[...]
Read moreHow to Avoid WLST Information Messages and Run the scripts Silently
While running the WLST scripts, You might have come across the informational messages as follows and additional empty lines. Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Connecting to t3://web.mwinventory.in:33011 with userid weblogic ... Successfully connected to Admin[...]
Read moreWeblogic WLST storeuserconfig - Security Best Practice
Overview While connecting to Weblogic Scripting Tool (WLST) or while running any WLST scripts, we might have used the clear text username and password which could lead us to any potential security threat. In order to avoid it, Oracle recommends us to use the UserConfigFile and UserKeyFile where ever applicable. Best example where you[...]
Read moreweblogic server status script - WLST
A Small and Simple script to get all the server status from the weblogic domain, Including AdminServer & Managed Server. The Jython Script How to Execute this script Copy the preceding script content to a file, let's say /tmp/get_wls_serverstate.py cd domain/bin . ./setDomainEnv.sh java weblogic.WLST /tmp/get_wls_serverstate.py Script Output Hope this[...]
Read moreWeblogic 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[...]
Read moreWeblogic Config XML reader
Have you ever wanted to get the server configuration information of WebLogic directly from config.xml without using WLST. 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[...]
Read more