Please explain what it is you want.
The script file referred (attached) to that question is a collection of Jython routines.
You want to list all of the clusters?
Start an interactive wsadmin session:
- open a command prompt
- "cd" to the /bin directory, or to the bin directory associated with
a particular profile
e.g., cd C:\IBM\WebSphere\AppServer\bin
or, cd C:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin
- Start the wsadmin interactive session
wsadmin -conntype none
What output do you get when your execute:
print AdminConfig.list( 'ClusterMember' )
Is this what you want?
What about:
print AdminConfig.list( 'DataSource' )
and what about:
print AdminConfig.list( 'Server' )