web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Using the iastool command-line tools Table 29.5 Option -user -pwd -file Example The following example starts the partition naming service running on the hub BES1 in the j2ee configuration on management port 24410: iastool -start -hub BES1 -cfg j2ee -mo standard_visinaming -mgmtport 24410 stop Use this tool to shut down a hub or managed object. Syntax Specifies the user to authenticate against the specified realm. Specifies the user's password to authenticate against the specified realm. 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 321 for more information. -stop [-mgmtport ] [-realm ] [-user ] [-pwd ] [-file ] or -stop [-mgmtport ] -cfg -mo -moagent [-realm ] [-user ] [-pwd ] [-file ] Default Output The default output displays the process or processes that have been shut down. If the stop tool fails (for example when a managed object cannot be shutdown), an error is displayed with a status code, which is returned to standard error output (stderr). Options The following table describes the options available when using the stop tool. Table 29.6 Option -hub Options available when using the stop tool -host : -cfg -mo Options available when using the start tool (continued) -moagent Description Description Specifies the name of the hub that you want to shut down, or the hub on which resides the managed object you want to shut down. Specifies the host name and the listener port of the machine on which the hub or managed object you are interested in is running. The option is enables the iastool utility to locate a hub on a different subnet than the machine on which iastool is running. Specifies the name of the configuration containing the managed object you are interested in. Specifies the name of the managed object you are interested in. Specifies the managed object agent name. Use this option if the specified hub has more than one agent. Chapter 29: iastool command-line utility 317

Using the iastool command-line tools Table 29.6 Option -mgmtport -realm -user -pwd -file Example The following example stops the partition naming service running on the hub BES1 in the j2ee configuration on the management port 24410: iastool -stop -hub BES1 -cfg j2ee -mo standard_visinaming -mgmtport 24410 uncompress Use this tool to uncompress a JAR file. Syntax Options available when using the stop tool (continued) Description -uncompress -src -target Specifies the management port number used by the specified hub. The default is 42424. Specifies the realm used to authenticate a user when the user and password options are specified. Specifies the user to authenticate against the specified realm. Specifies the user's password to authenticate against the specified realm. 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 321 for more information. Default Output By default, uncompress reports if the operation was successful or not. Options The following table describes the options available when using the uncompress tool. Option -src -target Description Specifies the JAR file that you want to uncompress. The full or relative path to the file must be specified. There is no default. Specifies the name of the uncompressed JAR file to be generated. The full or relative path to the file must be specified. There is no default. Examples The following example converts the compressed JAR file called small.jar located in the current directory into an uncompressed file called big.jar in the same location: iastool -uncompress -src small.jar -target big.jar 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 318 BES Developer’s Guide

Using the iastool command-line tools<br />

Table 29.6<br />

Option<br />

-mgmtport <br />

-realm <br />

-user <br />

-pwd <br />

-file <br />

Example<br />

The following example stops the partition naming service running on the hub BES1 in the<br />

j2ee configuration on the management port 24410:<br />

iastool -stop -hub BES1 -cfg j2ee -mo standard_visinaming -mgmtport 24410<br />

uncompress<br />

Use this tool to uncompress a JAR file.<br />

Syntax<br />

Options available when using the stop tool (continued)<br />

Description<br />

-uncompress -src -target <br />

Specifies the management port number used by the<br />

specified hub. The default is 42424.<br />

Specifies the realm used to authenticate a user when the<br />

user and password options are specified.<br />

Specifies the user to authenticate against the specified<br />

realm.<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<br />

for more information.<br />

Default Output<br />

By default, uncompress reports if the operation was successful or not.<br />

Options<br />

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

Option<br />

-src <br />

-target <br />

Description<br />

Specifies the JAR file that you want to uncompress. The full or relative<br />

path to the file must be specified. There is no default.<br />

Specifies the name of the uncompressed JAR file to be generated.<br />

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

default.<br />

Examples<br />

The following example converts the compressed JAR file called small.jar located in<br />

the current directory into an uncompressed file called big.jar in the same location:<br />

iastool -uncompress -src small.jar -target big.jar<br />

The following example uncompresses a JAR file named small.jar located in the<br />

directory c:\myprojects\ into a file named big.jar in the same location:<br />

iastool -uncompress -src c:\myprojects\small.jar -target c:\myprojects\big.jar<br />

318 BES Developer’s Guide

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

Saved successfully!

Ooh no, something went wrong!