Welcome to the IBM Websphere Commerce Hub


Welcome to the IBM Websphere Commerce Hub

Come join me in my journey to explore the various features and capabilities of IBM Websphere Commerce and understand how retailers can benefit from its really cool out-of-box functionality.

Friday, March 2, 2012

Executing JACL , Jython scripts in WAS/WCS

You want to execute JACL/jython/python scripts using WAS but dont know how to?

Dont worry.. Its very simple!

WAS provides a wsadmin tool which comes to our rescue :)

You can locate wsadmin.bat script at the following location -

WCS 7 / RAD 7.5 installation
<Rad75InstallationDir>\SDP\runtimes\base_v7\bin

WCS 6/ RAD 6 installation
<Rad6InstallationDir>\runtimes\base_v6\bin

Go to command promot, navigate to the above path and type in the following command to execute your script-

wsadmin.bat -lang jython -f <inputfileName.py>

To read more about the tool and its capabilities , visit wsadmin tool.

No comments:

Post a Comment