user manual

Chapter 29: iastool command-line utility 369
Using the iastool command-line tools
The following example uncompresses a JAR file named small.jar located in
the directory c:\myprojects\ into a file named big.jar in the same location:
iastool -uncompress -src c:\myprojects\small.jar -target c:\myprojects\
big.jar
undeploy
Use this tool to undeploy a J2EE module from a specified Partition on a
specified hub and configuration.
Syntax
-undeploy -jar <jar> <-hub <hub> | -host <host>:<listener_port>>
-cfg <config_name> -partition <partitionname> [-mgmtport <nnnnn>]
[-realm <realm>] [-user <username>] [-pwd <password>] [-file <login_file>]
Default Output
By default, the undeploy tool reports if the operation was successful or not.
Options
The following table describes the options available when using the undeploy
tool.
Option Description
-jar <jar> Specifies the name of the JAR file to be
undeployed. The full or relative path to
the file must be specified. There is no
default.
-hub <hub> Specifies the name of the hub from which
to undeploy the JAR file.
-host <host>:<listener_port> Specifies the host name and the listener
port of the machine on which the
deployed module you are interested in is
located. The option is enables the iastool
utility to locate a module on a different
subnet than the machine on which
iastool is running.
-cfg <configname> Specifies the configuration name under
which the partition is configured.
-partition <partitionname> Specifies the name of the Partition that
contains the JAR file.
-mgmtport <nnnnn> Specifies the management port number
used by the specified hub. If not
specified, the default is 42424.
-realm <realm> Specifies the realm used to authenticate
a user when the user and password
options are specified.