Running multiple threaded WebSphere Application Server application clients

Due to various behaviors and interactions between the Eclipse and WebSphere® Application Server runtime environments, there are extra steps required when running multiple threaded WebSphere Application Server Application Clients through the Application Client Launch Configurations dialog box. The Application Client Launch Configurations dialog box is available from the Java™ EE perspective when you select Run > Run Configurations in the toolbar of the product.

If your client uses multiple threads, or uses frameworks that may use additional threads such as Swing, then you must complete the following additional steps:
  1. In the Application Client Launch Configurations dialog box, select the Arguments tab. Under the VM arguments text box specify the following parameter:
    -Dosgi.noShutdown=true
  2. Ensure your client application calls
    System.exit()
If these are not specified, you may see problems related to class loading or Java virtual machines (JVMs) that do not exit until the application has run to completion.
Icon that indicates the type of topic Reference topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: rwasappclient.html