Navigation:  Introduction >

Command-Line Arguments

Print this Topic Previous pageReturn to chapter overviewNext page

IceGrid Admin can be configured using Ice properties, and like with most Ice applications, these properties can be set using command-line arguments or a configuration file (or both).

Since IceGrid Admin is an Ice application (a client to the IceGrid registry), setting regular Ice properties can be useful as well. For example, you can set the Ice.Trace.Network property to get detailed information about network communications sent to stderr.

$ icegridgui --Ice.Trace.Network=2

Ice properties are described in detail in the Ice manual.

The following table shows properties specific to IceGrid Admin itself:

Name

Description

IceGridAdmin.AuthenticateUsingSSL

By default, when logging into an IceGrid registry, IceGrid Admin offers you to use username/password for user authentication. Setting this property to a value > 0 instructs IceGrid Admin to offer SSL authentication by default. See Login for details.

IceGridAdmin.Username

The default username when authenticating with a username/password. See Login for details.

IceGridAdmin.Password

The default password when authenticating with a username/password . See Login for details.

IceGridAdmin.Trace.Observers

When set to a value > 0, IceGrid Admin writes a log message (to stderr) each time it receives information from the IceGrid registry. This is typically used to debug problems in IceGrid Admin.

IceGridAdmin.Trace.SaveToRegistry

When set to a value > 0, IceGrid Admin logs information (to stderr) about all save activities directed to the IceGrid registry. This is typically used to debug problems in IceGrid Admin.

 

If you need to set many properties, it is a good idea to write a configuration file and use the --Ice.Config command-line argument to specify the location of this file. For example:

> java -jar "C:\Program Files (x86)\ZeroC\Ice-3.4.2\bin\IceGridGUI.jar" --Ice.Config=icegridadmin.conf

 


Page url: http://www.zeroc.com/doc/Ice-3.4.2/IceGridAdmin/index.html?command_line_arguments.htm