Using connected mode

Connected mode is jagtool’s default mode of operation. All commands can run in connected mode. When using connected mode, specify the arguments listed in Table 6-1.

Table 6-1: jagtool connection arguments

Parameter

To specify

-h hostname or -host hostname

Server host name. If not specified, the default is the value of the HOSTNAME environment variable.

-n port or -port port

Server IIOP port number. If not specified, the default is 9000.

-u name or -user name

User name. If not specified, the default is “admin@system”.

-p password or -password password

Password. If not specified, the default is “” (no password).

For example, to connect to the server running on “eclipse” at port 9005, using account admin@system with password “secret” enter:

jagtool -h eclipse -n 9005 -p secret

You can omit the -u flag because admin@system is the default user name.

Unless otherwise specified in the command reference page, all commands can run in connected mode.