12.11.2014 Views

web server - Borland Technical Publications

web server - Borland Technical Publications

web server - Borland Technical Publications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Using the iastool command-line tools<br />

To compress a JAR file called proj1.jar located in the directory c:\myprojects\ into a<br />

file called proj1compress.jar in the same location:<br />

iastool -compress -src c:\myprojects\proj1.jar<br />

-target c:\myprojects\proj1compress.jar<br />

deploy<br />

Use this tool to deploy a J2EE module to a specified Partition on the specified hub and<br />

configuration.<br />

Syntax<br />

-deploy -jars ><br />

-cfg -partition [-force_restart] [-cp ]<br />

[-args ] [-javac_args ] [-noverify] [-nostubs] [-mgmtport ]<br />

[-realm ] [-user ] [-pwd ] [-file ]<br />

Default Output<br />

By default, deploy reports if the operation was successful.<br />

Options<br />

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

Table 29.2<br />

Option<br />

-jars <br />

-hub <br />

Options available using the deploy tool<br />

-host :<br />

-cfg <br />

partition <br />

-force_restart<br />

-cp <br />

-args <br />

-javac_args <br />

-noverify<br />

-nostubs<br />

-mgmtport <br />

-realm <br />

Description<br />

Specifies the names of one or more JAR files to be<br />

deployed. To specify more than one JAR file, enter a<br />

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

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

default.<br />

Specifies the name of the hub in which to deploy the JAR<br />

files.<br />

Specifies the host name and the listener port of the<br />

machine on which the partition you are interested in is<br />

running. This option enables the iastool utility to locate a<br />

partition on a different subnet than the machine on which<br />

iastool is running.<br />

Specifies the name of the configuration containing the<br />

partition in which you want to load the JAR file.<br />

Specifies the name of the Partition in which you want to<br />

load the JAR file.<br />

Restarts the specified Partition after deploying the module.<br />

If this option is not specified, you will need to restart the<br />

Partition manually to initialize the module.<br />

Specifies the classpath containing the class dependencies<br />

of the JAR file(s) to be deployed.<br />

Specifies any arguments that are needed by the JAR file.<br />

For details, see VisiBroker for Java Developer’s Guide.<br />

Specifies any Java compiler arguments that are needed by<br />

the JAR file.<br />

Turns off verification of the active connections to a<br />

Partition on a specified management port.<br />

Prevents creation of client or <strong>server</strong>-side stub files for the<br />

deployed module.<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 />

Chapter 29: iastool command-line utility 297

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

Saved successfully!

Ooh no, something went wrong!