21.6. XMLConfig examples and uses

The following section details the most common XMLConfig examples.

21.6.1. Starting and stopping an application server

The first example provided, as shown in Figure 714, demonstrates how to start the “Default Server” application server that resides on a node named “riscwas2”. You will have to modify both the application-server name and the node name values to perform this action on your system. Then run:

Figure 714. itsoStartDefault.xml
<?xml version="1.0"?>
<!DOCTYPE websphere-sa-config SYSTEM
"$XMLConfigDTDLocation$$dsep$bin$dsep$xmlconfig.dtd">

<websphere-sa-config>
  <node name="riscwas2" action="update">
    <application-server name="Default Server" action="start"> </application-server> </node> </websphere-sa-config> ...

Get WebSphere V3.5 Handbook 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.