+

Search Tips   |   Advanced Search

Calling the wladm program

Use the wladm program to administer MobileFirst applications.


Syntax

Call the wladm program as follows:

The wladm program has the following options:

The wladm calls contains a command. The following commands are supported.


Interactive mode

Alternatively, we can also call wladm without any command in the command line. Then enter commands interactively, one per line.

The exit command, or end-of-file on standard input (Ctrl-D on UNIX terminals) terminates wladm.

Help commands are also available in this mode. For example:


Command history in interactive mode

On some operating systems, the interactive wladm command remembers the command history. With the command history, we can select a previous command, using the arrow-up and arrow-down keys, edit it, and execute it.

In environments where rlwrap does not work or is not desired, we can disable its use through the option --no-readline.


The configuration file

We can also store the options in a configuration file, instead of passing them on the command line at every call. When a configuration file is present and the option –configfile=file is specified, we can omit the following options:

Use these commands to store these values in the configuration file.

Use this command to list the values stored in the configuration file: wladm [--configfile=file] config

The configuration file is a text file, in the encoding of the current locale, in Java .properties syntax. The default configuration file is on

When we do not specify a --configfile option, the default configuration file is used only in interactive mode and in config commands. For noninteractive use of the other commands, we must explicitly designate the configuration file to use one.

Important: The password is stored in an obfuscated format that hides the password from an occasional glimpse. However, this obfuscation provides no security.


Generic options

There are also the usual generic options:


XML format

The commands that receive an XML response from the server verify that this response complies with the specific schema. We can disable this check by specifying --xmlvalidation=none.


Output character set

Normal output that is produced by the wladm program is encoded in the encoding format of the current locale. On Windows, this encoding format is "ANSI code page". The effects are as follows:

To work around this limitation:


Parent topic: Administer MobileFirst applications through the command line