You can override any JADE initialization file values by placing them on the command line.
For JADE executables, specify the fully qualified name of your JADE initialization file in the command line.
JADE first looks for command line parameters of the form section‑name.parameter‑name=value and if not present, checks the JADE initialization file for the section name and parameter name combination.
Two-level section names are supported in the command line.
Placing JADE initialization file entries on the command line enables:
JADE developers and system administrators to quickly test alternative configurations, rather than having to create multiple JADE initialization files.
JADE developers to share one JADE initialization file.
For example, to allow specific application servers to run specified applications only, on the command line, specify the jadapp application server executable shortcut command line as follows.
R:\Test\jade\bin\jadapp appServerPort=1500 thinClient=true path=r:\test\jade\system ini=r:\jade\system\test\myjade.ini JadeAppServer.EnableAppRestrictions=true JadeAppServer.AllowSchemaAndApp1="MySchema,SecretFixupApp" server=multiUser host=devsrvr38 port=6015
As the size of the command line is imposed by the operating system, this may restrict the number of JADE initialization file values that you can place on the command line. We recommend that JADE administrators keep the placement of initialization file parameters to a minimum, because long command lines can become hard to maintain. However, if you require only a few non‑updating initialization file values, putting them on the command line saves the creation of a new JADE initialization file section.
You cannot use the
If you specify JADE initialization file section and parameter names in the command line, initialization file parameter values that are normally updated by methods are not updated, as the command line values have precedence. The parameter values in the JADE initialization file remain unchanged in this situation. For example, if you specify JadeServer.MaxServerThreads=10 in the command line of the JADE Remote Node Access program when the value of the [
When obtaining values for command line arguments (for example, path, schema, appServer, and so on), the order of precedence is as follows.
Command line
If name=unique-identifier is on the command line, the [unique‑identifier.JadeCommandLine] section parameter values are obtained from the JADE initialization file
The parameters from the [
An internal default value, if applicable
See also "