Preparing and testing the wsadmin client

The wsadmin scripting tool can run with a command prompt where the user can feed the commands to the interpreter and execute them from a console; or wsadmin can run in silent mode where users can pass a script file as a parameter to the tool and execute a whole sequence of commands.

The scripts provided below can be saved in files and you can feed then to the wsadmin tool or you can start wsadmin as a command line interpreter and run the commands line by line from the scripts.

Since the wsadmin tool is basically a Java application accessing the WebSphere Application Server, when global security is enabled, the application has to provide the right user name and password to be able to run the scripts.

Get IBM WebSphere V5.0 Security: WebSphere Handbook Series now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.