ws_ant fails with "wsServerStatus" task doesn't support the "cell" attribute exception
 Technote (troubleshooting)
 
Problem(Abstract)
The <wsServerStatus> task does not support the cell attribute exception.
 
Cause
The ant task API does not support cell, node, and all attributes in ws_ant task for obtaining server Status.
 
Resolving the problem
cell, node, and all attributes are not supported.

CONFIG_ROOT, CELL, and NODE are being set from the setupCmdLine script. ServerStatus takes either the servername or -all options, but not both together. Therefore, to get the status of all the servers, set server="-all" in the task properties.
Use the following sample attributes to find the status of all the servers in a node.

<wsServerStatus
server="-all"
quiet="false"
trace="true"
failonerror="true"/>
 
Exception.log
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Administrative Scripting Tools (for example: wsadmin or ANT)
Operating system(s): Windows
Software version: 5.1.1.2
Software edition:
Reference #: 1189923
IBM Group: Software Group
Modified date: Oct 25, 2007