deploy2j2ee - Deploy EAR File to Application Server

deploy2j2ee [--errorlevel|-v level] [--edition|-e edition] [--productline|-p] [--undeploy|-u] [--list|-l] [[--allproducts|-a] | dataarea [application]]

The deploy2j2ee utility is called by the activatelandmark utility in order to deploy one or a set of packaged J2EE EAR files for the application server currently in use. deploy2j2ee should not be used directly unless at the request of support personnel.

You can use deploy2j2ee to list the current packaging and deployment status for data area EAR files.

Program Option Description
-e edition or --edition edition Control which data area dictionary edition to process. An edition is a dictionary edition flag name (newest, pending, active, or prior) and results in EAR file processing for the product line run directory associated to the data area currently in the requested state.
-p or --productline An option flag to specify that the supplied data area name should be processed as a product line name, leading to processing all defined data areas associated with the product line.
-u or --undeploy Remove the identified deployments from the application server instead of deploying them to the application server.
-l or --list List the current packaging and deployment status for each of the identified enterprise applications .
-a or --allproducts Process all product lines currently defined for which the default data area has a dictionary of the requested edition type. This means that a successful buildprod has been run for the product line. If the singleear is not configured, all data areas of the requested edition type for all product lines will be processed.
dataarea The name of the data area or product line to be processed. A product line is selected when the [--productline | -p] option is provided. If a product line is selected and singleear is not configured then all identified data areas for the product line will be processed.
application
-v displayoptions or --errorlevel=level

errorlevel, tracelevel, and verbose specified in any order, where:

  • errorlevel = {n}one | {f}atal | {e}rror | {w}arning | {i}nfo (info is the default) The name of an optional single enterprise application definition to be processed.

  • tracelevel = 0:6 where 0 is no message and 6 is everything

  • verbose = whether to display exception stacktrace