Tagged with WLST

Passing arguments to WLST scripts

Often when developing WLST scripts, certain arguments must be passed to the script. This can be achieved by passing the arguments at the wlst.sh execution and accessing them in the script using the sys.argv variable. For example, to connect to a local AdminServer by passing the URL, username and password at execution time. The connect.py […]

WebLogic AdminServer startup and shutdown scripts

Right after creating a WebLogic domain, you can navigate to the domain directory and start the administration server using the startWebLogic.sh script. However, for easier control over the administration server of your domain, you can create some WLST startup and shutdown scripts that manage your admin server via the Node Manager. The solution below describes […]

Cannot connect to Node Manager. : Access to domain for user ‘weblogic’ denied

If you’ve hit this error you are probably trying to control your Weblogic servers via WLST, but you are unable to connect to the Node Manager. nmConnect(‘weblogic’,’welcome1′,’localhost’,’5556′,’FMW_XPS’,’/shared/oracle/FMW_Home/user_projects/domains/FMW_XPS’,’plain’) Connecting to Node Manager … Traceback (innermost last): File “”, line 1, in ? File “”, line 123, in nmConnect File “”, line 648, in raiseWLSTException WLSTException: Error […]