Table B-2 deploytool Options
Option
|
Description
|
-deploy
<ear-filename>
<server-name>
[<client-stub-jar>]
|
Deploys the J2EE application contained in the EAR file specified by <ear-filename> onto the J2EE server running on the machine specified by <server-name>. Optionally, a JAR file for a stand-alone Java application client may be created by specifying <client-stub-jar>.
|
-deployConnector
<rar-filename>
<server-name>
|
Deploys the resource adapter contained in the RAR file specified by <rar-filename> onto the J2EE server running on the machine specified by <server-name>.
|
-generateSQL
<ear-filename>
<server-name>
[noOverWrite]
|
Generates SQL statements for all entity beans with container-managed persistence. These beans are in the EAR file specified by <ear-filename> that has been deployed on the J2EE server running on the machine specified by <server-name>. If the noOverWrite option is specified, then existing SQL statements are not overwritten.
|
-listApps
<server-name>
|
Lists the J2EE applications that are deployed on the J2EE server running on the machine specified by <server-name>.
|
-listConnectors
<server-name>
|
Lists the resource adapters that are deployed on the J2EE server running on the machine specified by <server-name>.
|
-undeployConnector
<rar-filename>
<server-name>
|
Undeploys the resource adapter contained in the file specified by <rar-filename> from the J2EE server running on the machine specified by <server-name>.
|
-uninstall
<app-name>
<server-name>
|
Undeploys the J2EE application whose name is <app-name> from the J2EE server running on the machine specified by <server-name>.
|
-help
|
Displays options.
|
-ui
|
Runs the GUI version (default).
|