Liberty Repository[8.5.5.6 or later]
This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Running an application client from the command line

You can use the client run task to run an application client.

Before you begin

Before you can run an application client, you must create a client and add a configuration for your client application in the client.xml file. See the Creating a Liberty client manually topic for examples of how you would create the application client.

About this task

The wlp/bin directory contains scripts that are called client and client.bat to run client applications. The syntax of these scripts is as follows:
client action <client_name> [options]

Procedure

Use the following command to run the client:
client run client_name 
For Windows platforms
client.bat run client_name
where client_name is the name of the client.
Attention: If a default client exists, it runs defaultClient. If a default client does not exist, defaultClient is created, then runs (and likely fails because there is no application that is configured.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_admin_startstopclient_cmd
File name: twlp_admin_startstopclient_cmd.html