Incomplete Jython Libraries in WebSphere 6.0
WebSphere 6.0 ships with a very basic set of Jython libraries, which limits your ability to write robust scripts. WebSphere 6.1 however comes with the complete Jython 2.1 libraries.
If you need the ability to use standard Jython libraries in WebSphere 6.0 and are unable to immediately upgrade to 6.1 there is a work-around. This hack is not supported by IBM, so proceed at your own risk:
- Copy the Jython libraries from a WebSphere 6.1 instance (you can download a trial copy from IBM if you don’t have it). <WAS_HOME>/optionalLibraries/jython/*
- Drop the copied files into the same directory on your WebSphere 6.0 instance, overwriting all pre-existing files.
Using the above hack has allowed me to use practically all of my WAS 6.1 scripts in WAS 6.0.