The application client launcher for Java™ Web Start is a Java class, com.ibm.websphere.client.installer.ClientLauncher, which has a main() method that Java Web Start calls to start the application client container and to invoke the application client's main() method. It provides similar functions as the lauchClient command line tool to start application clients from the command line.
The com.ibm.websphere.client.launcher.ClientLauncher class is packaged in the WebSphereClientLauncher.jar file under the <app_client_root>/lib/webstart directory.
When com.ibm.websphere.client.launcher.ear is set, the application client launcher for JWS supports almost all of the –CC arguments as the lauchClient command line tool supports. However, if only com.ibm.websphere.client.launcher.main is set, the launcher will only support the –CCD argument. The following table shows the comparison of the supported –CC arguments for the launchClient command line tool and the application client launcher for JWS:
-CC argument | launchClient | Application client launcher for JWS |
---|---|---|
-CCverbose | Yes | Yes |
-CCjar | Yes | Yes |
-CCclasspath | Yes | N/A |
-CCadminConnectorHost | Yes | Yes |
-CCadminConnectorPort | Yes | Yes |
-CCadminConnectorType | Yes | Yes |
-CCadminConnectorUser | Yes | Yes |
-CCaltDD | Yes | Yes |
-CCBootstrapHost | Yes | Yes |
-CCBootstrapPort | Yes | Yes |
-CCproviderURL | Yes | Yes |
-CCinitonly | Yes | N/A |
-CCtrace | Yes | Yes |
-CCtracefile | Yes | Yes |
-CCsecurityManager | Yes | N/A |
-CCsecurityMgrClass | Yes | N/A |
-CCsecurityMgrPolicy | Yes | N/A |
-CCD | Yes | Yes |
-CCexitVM | Yes | Yes |
-CCdumpJavaNameSpace | Yes | Yes |
-CCsoapConnectorPort | Yes | Yes |
-CCtraceMode | Yes | Yes |
-CCclassLoaderMode | Yes | Yes |
<argument>-CCDcom.ibm.ssl.keyStore= ${WAS_ROOT}/etc/key.p12</argument>it will be expanded to the JWS cache installation root location and the argument will become:
-CCDcom.ibm.ssl.keyStore=/home/tiu/.java/deployment/cache/javaws/ext/E1134532441112/etc/key12.p12The following table shows the three macro keys that are currently supported and will be substituted by the launcher:
Macro key | Value |
---|---|
${WAS_ROOT} | Installation root location within the JWS cache that is used by the application client container and runtime installer for JWS. |
${JAVA_HOME} | Location of Java home. The return value of System.getProperty(“java.home”). |
${USER_HOME} | Location of user home. The return value of System.getProperty(“user.home”). |