The Launch API Sample requires no configuration.
The Launch API Sample is a simple command-line application. Run the Sample
using the supplied batch file.
Getting started quickly:
To run the Launch API Sample using the supplied batch file, perform the following
steps:
- Open a command prompt
- Change the current working directory to
- Open the launchapi.prop file in a text editor and make the following change
from:
#BootstrapHost=
to:
BootstrapHost=<server_name>
where <server_name> is the domain name or IP address of the system on which the Application Server is running
- Run launchAPI
- The application output should appear as follows:
--------------------------------------------------------------
Running LaunchAPIClientMain from LaunchAPI.ear using launch()
--------------------------------------------------------------
IBM WebSphere Application Server, Release 8.0
Java EE Application Client Tool
Copyright IBM Corp., 1997-2009
WSCL0013I: Initializing the Java EE Application Client Environment.
Debugging is set to false
Loading the Security Configuration...
WSCL0035I: Initialization of the Java EE Application Client Environment has completed.
WSCL0014I: Invoking the Application Client class com.ibm.websphere.samples.j2eeappclients.launchapi.LaunchAPIClientMain
LaunchAPIClientMain up and running...
Input Parameters: Green Yellow Blue
|
Identifying command syntax:
<Launch Command> <EAR File> <Properties File> {Application Parameter};
<Launch Command> ::= <Java application launch command.>
<EAR File> ::= <Valid EAR File and Path Name>
<Properties File> ::= <Valid Java Properties File and Path Name>
<Application Parameter> ::= <space> String