The wsadmin tool
wsadmin acts as an interface to WebSphere Java objects for access by scripts. Internally, WAS employs special Java objects to communicate with internal MBeans (JMX management objects). If you wish to learn more about MBeans, go to the following URL: http://java.sun.com/docs/books/tutorial/jmx/mbeans/index.html.
WebSphere utilizes the JMX API to create MBeans that are exposed as an API of internal WebSphere objects, which wsadmin can utilize to configure WebSphere. In WAS 7, the wsadmin tool (wsadmin.sh
) supports five top-level scripting objects, including the AdminConfig, AdminControl, AdminApp, AdminTask
, and the Help
object. Scripts use these objects for application management, configuration, control, and communicating with the internal MBeans that run in the WAS product. The following table explains the scripting objects.
Scripting Object |
Description |
---|---|
AdminConfig |
Communicates with the config service and used to modify, remove or display WebSphere internal configuration... |