Pinging the server

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.

Ant

To ping the server from an Ant configuration script, use this syntax:

<pingserver host="host_name" port="iiop_port" timeout="seconds"/>

where:

The EAServer Automated Configuration Guide describes how to create and run Ant configuration scripts.

jagtool

To ping the server using the jagtool command line tool, run:

jagtool [-host host_name -n iiop_port] pingserver [-timeout seconds]