12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using the iastool command-line tools<br />

Option<br />

-pwd <br />

-file <br />

Description<br />

Specifies the user's password to authenticate against the<br />

specified realm.<br />

Specifies a login script file containing the realm, user name,<br />

and password used to authenticate a user. The full or<br />

relative path to this file must be specified. See “Executing<br />

iastool command-line tools from a script file” on page 321 for<br />

more information.<br />

Examples<br />

The following example shows how to perform a thread dump of the standard Partition in<br />

the j2ee configuration on the BES1 hub:<br />

iastool -dumpstack -hub BES1 -cfg j2ee -partition standard<br />

The following example shows how to perform a thread dump of the standard Partition<br />

on a computer host on a specific listener port. Note that the -host option can be used<br />

regardless of whether iastool is executed on the same or a different host machine on<br />

which the partition is running.<br />

iastool -dumpstack -host mymachine:1234 -cfg j2ee -partition standard<br />

genclient<br />

Use this tool to generate a library containing client stubs files, EJB interfaces, and<br />

dependent class files for one or more EJB JAR files, and to package them into one or<br />

more client JAR files. The client JAR is not an EJB, but is an EJB client.<br />

If genclient fails for one of the EJB JARs in the argument list, an error is displayed and<br />

the genclient tool will continue to attempt to generate a client JAR on the remainder of<br />

the specified list.<br />

The genclient tool will exit 0 (zero), for 100% success, or 1, for any failure.<br />

Syntax<br />

-genclient -jars -target [-cp ]<br />

[-args ] [-javac_args ]<br />

Default Output<br />

The default output returns nothing to standard output (stdout).<br />

Options<br />

The following table describes the options available when using the genclient tool.<br />

Option<br />

-jars <br />

-target <br />

-cp <br />

Description<br />

Specifies one or more JAR files for which you want to generate<br />

one or more client JAR files. To specify more than one JAR file,<br />

enter a comma (,) between each file name (no spaces). The full or<br />

relative path to the JAR files must be specified. There is no<br />

default.<br />

Specifies the client-JAR files to be generated on the localhost.<br />

The full or relative path to the JAR files must be specified. There is<br />

no default.<br />

Specifies the classpath containing the class dependencies of the<br />

JAR file for which you want to generate a client JAR file. The<br />

default is none.<br />

Chapter 29: iastool command-line utility 299

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!