Starting the wsadmin tool
WebSphere Application Server provides the wsadmin scripting tool, a command line tool, which you can use to update your Java EE applications.
Procedure
-
From the WC_profiledir /bin directory, run:
- ./wsadmin.sh
- wsadmin
The wsadmin tool opens. -
Run WebSphere Application Server commands required for your updates.
- To update your custom code, run AdminApp updateWhen you deploy your code using the wsadmin tool, you run methods on the AdminApp object. The general syntax is
$AdminApp update application_name content_type options
- application name
- The name of the application to update.
- content type
- Used to specify whether you want to update a single file, a partial application, or an entire
module. Valid content types:
- file
- partialapp
- modulefile
- options
- WebSphere Application Server offers various options for the AdminApp command. For more information, see .
- To save your new configuration by running the
AdminApp save
command. - To exit the tool, run
exit
.
- To update your custom code, run AdminApp update