user manual

362 BES Developers Guide
Using the iastool command-line tools
iastool -pservice -hub BES1 -cfg j2ee -partition standard
-service standard_visinaming -enable -force_restart -mgmtport 24431
removestubs
Use this tool to remove all stub files from a JAR file.
Syntax
-removestubs -jars <jar1,jar2,...> [-targetdir <dir>]
Default Output
The default output returns nothing to standard output (stdout).
Options
The following table describes the options available when using the removestubs
tool.
Example
The following example shows how to remove stub files located from the EJB
JAR files proj1.jar, proj2.jar, and proj3.jar located in the current directory
and copy them to c:\examples\proto:
iastool -removestubs -jars proj1.jar,proj2.jar,proj3.jar
-targetdir c:\examples\proto
restart
Use this tool to restart a hub or managed object. The hub must already be
running in order for the restart tool to work with a hub.
Option Description
-jars <jar1,jar2...> Specifies the JAR file(s) from which you
want to remove one or more stub files.
To specify more than one JAR file, enter
a comma(,) between each JAR file (no
spaces). The full or relative path to the
JAR file(s) must be specified. There is no
default.
-targetdir <dir> Specifies the directory in which the stub
files that were removed will be stored. A
full or relative path must be specified, if
this option is specified. There is no
default. If no target directory is specified,
the stub files will be removed, but not
saved.