user manual
346 BES Developer’s Guide
Using the iastool command-line tools
Examples
The following example shows how to perform a thread dump of the standard
Partition in the j2ee configuration on the BES1 hub:
iastool -dumpstack -hub BES1 -cfg j2ee -partition standard
The following example shows how to perform a thread dump of the standard
Partition on a computer host on a specific listener port. Note that the -host
option can be used regardless of whether iastool is executed on the same or a
different host machine on which the partition is running.
iastool -dumpstack -host mymachine:1234 -cfg j2ee -partition standard
genclient
Use this tool to generate a library containing client stubs files, EJB interfaces,
and dependent class files for one or more EJB JAR files, and to package them
into one or more client JAR files. The client JAR is not an EJB, but is an EJB
client.
If genclient fails for one of the EJB JARs in the argument list, an error is
displayed and the genclient tool will continue to attempt to generate a client
JAR on the remainder of the specified list.
The genclient tool will exit 0 (zero), for 100% success, or 1, for any failure.
Syntax
-genclient -jars <jar1,jar2,...> -target <client_jar> [-cp <classpath>]
[-args <java2iiop_args>] [-javac_args <args>]
Default Output
The default output returns nothing to standard output (stdout).
-realm <realm> Specifies the realm used to authenticate
a user when the user and password
options are specified.
-user <username> Specifies the user to authenticate against
the specified realm.
-pwd <password> Specifies the user's password to
authenticate against the specified realm.
-file <login_file> Specifies a login script file containing the
realm, user name , and password used
to authenticate a user. The full or relative
path to this file must be specified. See
“Executing iastool command-line tools
from a script file” on page 372 for more
information.
Option Description










