I am currently writing my first WebSphere Jython course. In this course, the student will be taught how to do some really funky WebSphere automation.

Some examples of what is to come for the students to learn:

  • Fully comprehensive cell manager. This python module set teaches how to use Java getOpts and Log4j logging.
  • Application manager class. This module is based on OO programming techniques and shows the user how to build a very powerful object oriented approach to managing application deployment.
  • Port lister – This module is designed as profile script to show how to use wsadmin profile options and iterates the cell to show the port usage of all nodes, and servers. It can work off-line as well. It parses the on-disk WebSphere xml files and shows how to use XML parsing in Jython.
  • WebSphere security congfigurator. Demonstrates how to configure Federated repositories and LDAP.
  • JDBC manager. This is a class that facilitates the creation of JDBC providers, data sources and J2C aliases.
  • Concepts for securing the running of wsadmin jython scripts on AIX and Linux systems so that uses cannot see the password used in the wsadmin.sh calls.
  • many more examples….

The course is expected to be in beta around 31st July 2013.

Below is an example output of some of the cool debug mode logging (Log4j) that is included in all the modules taught on this course. In this example a function call stopClusterAndWait which is a dynamic stop and poll for cluster status script. This function (a Library function) is called by a decision tree modules based on user input via standalone shell script wrapper to show how it can be used as a standalone tool.


Leave a Reply