Not wanting to be left out of all the fun, here’s my contribution for Tim Hall’s OTN Appreciation Day event…
For those of us that came from an Oracle Application Server (iAS/OC4J) background, and with maybe a particular OCD-style bent for automation, I think the the biggest discovery in WebLogic Server was WLST, or WebLogic Scripting Tool. This lets you access the underlying JMX management objects that control every facet of WebLogic via an easy to use tool Python (or, rather Jython, the java variant). Python itself is fairly popular these days but nearly 10 years ago it was a bit of a novelty for me but gave me lots more scripting flexibility and control compared to traditional shell script.
Anyway, for a couple of years I was touting a presentation called "WLST – WebLogic’s Swiss Army Knife!" extolling the tool’s virtues!
- anything you can do "clicky-clicky" in the WebLogic console (and more!) you can do in a WLST script,
- you can even record WLST, like you might for an MS Word macro, when you do some manual commands in the console (or EM FMWC these days) to give yourself a starting script to tweak,
- Python gives you a rich programming environment for building modular scripts using helpful language constructs,
- WLST can be used online or offline (which means with the Admin Server running or not) – offline a bit more restrictive but allows you to build pretty comprehensive configurations without running the server software itself,
- WLST can be used for both configuring the WebLogic domain, as well as monitoring it when it’s up (for example checking the number of messages in a JMS queue or connections in a data source pool),
- Fusion Middleware products come with WLST libraries, e.g. Oracle SOA Suite includes WLST utilities for deploying composites. Read the complete 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.