The clientUpgrade script migrates application client modules and their resources in an enterprise archive (EAR) file so that these application clients can run in WebSphere Application Server Version 6.x. The script converts an EAR file that you want to migrate and then overwrites the original EAR file with the converted EAR file.
Product | The clientUpgrade script is available in the WebSphere Application Server (Express and Base) product only. |
Authority | To run this script, your user profile must have *ALLOBJ authority. |
Syntax | The syntax of the clientUpgrade script is: clientUpgrade EAR_file [ -clientJAR client_JAR_file ] [ -logFileLocation logFileLocation ] [ -traceString trace_spec [ -traceFile file_name ] ] |
Parameters | The parameters of the clientUpgrade script are:
|
Logging | The clientUpgrade script displays status while it runs. It also saves more extensive logging information to the clientupgrade.log file. This file is located in the /QIBM/UserData/WebSphere/AppServer/V6/edition/profiles/default/logs directory (for a default installation using the default profile) or in the location specified by the -logFileLocation parameter. |
These examples demonstrate correct syntax. In this example, the My50Application.ear file is migrated from WebSphere Application Server Version 5.0.x, The script overwrites the original EAR file with a new file that you can deploy in your WebSphere Application Server profile.
clientUpgrade /My50Application/My50Application.ear
clientUpgrade /My50Application/My50Application.ear -clientJAR myJarFile.jar