+

Search Tips   |   Advanced Search

Commands for troubleshooting

When we invoke the wladm program, we can include various commands for troubleshooting.


The show info command

The show info command shows basic information about the MobileFirst administration services that can be returned without accessing any runtime nor database. This command can be used to test whether the MobileFirst administration services are running at all.

Syntax:

It takes the following options after the object:

Option Description
--xml Produce XML output instead of tabular output.
Example:


The show versions command

The show versions command displays the MobileFirst versions of various components:

and for every project WAR file:

Syntax:

It takes the following options after the object:

Option Description
--xml Produce XML output instead of tabular output.

Example:


The list runtimes command

The list runtimes command returns a list of the deployed runtimes (MobileFirst projects).

Syntax:

It takes the following options:

Option Description
--in-database Whether to look in the database instead of via MBeans
--xml Produce XML output instead of tabular output.
Examples:

list runtimes list runtimes --in-database

This command is based on the Runtimes (GET) REST service.


The show runtime command

The show runtime command shows information about a given deployed runtime (MobileFirst project).

Syntax:

It takes the following arguments:

Argument Description
runtime-name Name of the runtime web application / MobileFirst project.

It takes the following options after the object:

Option Description
--xml Produce XML output instead of tabular output.
Example:

This command is based on the Runtime (GET) REST service.


The delete runtime command

The delete runtime command deletes a runtime, including its apps and adapters, from the database. It is only possible to delete a runtime when its web application is stopped.

Syntax:

It takes the following arguments:

Argument Description
runtime-name Name of the runtime web application / MobileFirst project.
condition Condition when to delete it: 'empty' or 'always' (dangerous!)
Example:

This command is based on the Runtime (DELETE) REST service.


Parent topic: Administer MobileFirst applications through the command line