My webMethods Server 10.7 | My webMethods Server Webhelp | Administering My webMethods Server | Startup and Configuration | Running My webMethods Server from the Command Line | Basic Command Line Syntax for My webMethods Server
 
Basic Command Line Syntax for My webMethods Server
The following table describes the basic command line syntax for My webMethods Server:
For Windows:
mws.bat -option -option ... command parameter|-Dparameter=value
For UNIX:
mws.sh -option -option ... command parameter|-Dparameter=value
where -parameter is a native command parameter and -Dparameter is a Java system parameter.
You can list more than one option and more than one parameter in a command, using space as separator.
For commands that do not accept Java system parameters, supply the parameters as additional Java properties in the custom_wrapper.conf file.
For information about the parameters that each command supports, see the "Parameters" section for the command.
Some My webMethods Server commands do not apply to instances, running in Docker containers. Runtime limitations are listed in the Usage Notes section of the command descriptions.
Options for My webMethods Server Commands
The command line interface for My webMethods Server supports the following options, but each My webMethods Server command accepts only the options listed in the Options section for the command. The following table lists the available command line options:
Option
Description
-p
Full path to the platform installation directory. The default is the Software AG_directory .
-d | debug
Starts the server in debug mode. A Java debug listener opens on port 10033, and DEBUG statements appear in the console window.
-n
In a clustered environment, the node name assigned to the server instance. Not required if the server is running standalone.
-s
The name of the server instance. Not required if you are controlling the default instance. The default value is default.
-w
The period of time in seconds to wait for the command to execute.