Here I prepared few sorted out Tips and useful Tricks for developing the WLST scripts, which I learn with my experiments with Programming Python commands for WLST scripts. These WLST commands can be applicable in WebLogic 9.x to WebLogic 10.3.6 or WebLogic 12c.
Tip
1. Know about Where are you On some situations you might need a clarity
about which WebLogic version you are using. WebLogic 11g(10.3) has
different sub-sequent versions 10.3.1,10.3.2,10.3.3 and 10.3.4, for all
these the directory structure is ~/Oracle/Middleware/wlserver_10.3 which
does not tells you about sub versions. Here WLST is having a solution
for this problem,
You can find the current WebLogic version to which WLST is connected.
wls:/offline> print version
WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 Read the full article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.
BlogTwitterLinkedInMixForumWiki