Example: Modifying the starting weight of applications using scripting

To modify the starting weight of an application, use the following examples:

Using Jacl:

set dep [$AdminConfig getid /Deployment:MyApp/]
set deployedObject [$AdminConfig showAttribute $dep deployedObject]
$AdminConfig show $deployedObject startingWeight
$AdminConfig modify $deployedObject {{startingWeight 2}}
$AdminConfig show $deployedObject startingWeight




Searchable topic ID:   rxml_weight
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/rxml_weight.html

Library | Support | Terms of Use | Feedback