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 12-1.

Table 12-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 JAGUAR_HOST_NAME 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 “jagadmin”.

-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 jagadmin with password secret enter:

jagtool -h eclipse -n 9005 -p secret

You can omit the -u flag because jagadmin is the default user name.

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