mtool Command Line Utility

Use the mtool command line utility to manage the Service Container.

You can find the mtool utility in the <installation directory>\SC\bin directory.

mtool options

For example after changing to the location of the mtool utility, you might run the following: mtool -H MyHost -P 1999 --list

Table 1. General parameters
Parameter Description
-h, --help Displays a usage summary.
-H, --host <host> Specifies the server host. The default value is local host .
-P, --port <port> Specifies the server port. The default value is 1999 .
-p, --password <password> Specifies the EAServer Manager password. The default value is password1 .
-U, --user <user> Specifies the EAServer Manager user name. The default value is admin@system.
-v, --version Displays the mtool utility version number and then exits the utility.
Table 2. Management parameters
Parameter Description
-d, --dump Enables display of the MBeans tree.
--dump-bpi Enables display of the MBeans tree including business process service instances.
--dump-wsdl Enables display of the MBeans tree including the WSDLs.
-i, --install <file> Installs the specified service package file. For example:

mtool -i MyService.svcpkg

-I, --install-local <file> Installs the specified service package file. However, unlike the -i parameter, this parameter assumes that the file is local to the server. For example:

mtool -I c:/some/path/on/the/server/MyService.svcpkg

-l, --list Lists object names of all of the installed packages.
-r, --refresh Refreshes the server.
-u, --uninstall <object name> Uninstalls the package associated with the specified object name.
w, --wsdl <object name> Displays the WSDL of the service package associated with the named object.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.