Running your application client

After you have completed the steps in the previous section, follow these steps to run your application client:

  1. Copy your EAR file into the bin directory of the application client.
  2. Open a command prompt and enter
    Run launchClient ejb_project_nameEAR -CCBootstrapPort=2809
    , where ejb_project_name is the name of the ear file that you copied into the bin directory of the application client. This will run your application client. If you do not see the output you expect, check launchClient.bat to make sure that DEFAULTSERVERNAME is set to your test server and SERVERPORTNUMBER is set to the Bootstrap port of the test server. The default Bootstrap port is 2809, but might be different depending on the WebSphere configuration. The Bootstrap address is the combination of the Bootstrap Host and Bootstrap port, with a colon (:) between them. To find the Bootstrap port of the WebSphere Application Server, open the WebSphere Administrative Console and look for Servers > Application servers > servername > ports > BOOTSTRAP ADDRESS.