To verify whether EAServer is running, you can use either the Ant pingserver task or the jagtool pingserver command. If you specify a timeout, pingserver waits the specified number of seconds before it returns.
To ping the server from an Ant configuration script, use this syntax:
<pingserver host="host_name" port="iiop_port" timeout="seconds"/>
where:
host_name is the name of the machine on which EAServer is running. If not specified, the default is the value of the HOSTNAME environment variable.
iiop_port is the server IIOP port number. If not specified, the default is 2000.
seconds is the number of seconds to wait before the command returns.
The EAServer Automated Configuration Guide describes how to create and run Ant configuration scripts.
To ping the server using the jagtool command line tool, run:
jagtool [-host host_name -n iiop_port] pingserver [-timeout seconds]