How to Capture the startServer and stopServer Return Code
 Technote (troubleshooting)
 
Problem(Abstract)
How to capture the startServer and stopServer return code to determine if this was successful or not?
 
Resolving the problem
The following example is script executing and capturing the return code for server1:

#!/bin/sh
exitCode=`./startServer.sh server1`

The exitCode value can be compared to the following list of return codes to determine the results of the command:

http://www.ibm.com/support/docview.wss?uid=swg1PQ92173
 
 
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: 6.0
Software edition:
Reference #: 1218600
IBM Group: Software Group
Modified date: Oct 21, 2008