For Windows: | mws.bat -option -option ... command |
For UNIX: | mws.sh -option -option ... command |
Option | Description |
-d[ebug] | Starts the server in debug mode. DEBUG statements appear in the console window and a Java debug listener opens on port 10033. |
-n nodeName | In a clustered environment, the node name assigned to the server instance. Not required if the server is running standalone, or if it is the master node of a cluster. For more information about clusters, see
My webMethods Server Clustering. |
-s serverName | The name of the server instance. Not required if you are controlling the default server. You can find the server instances on a machine by looking here: Software AG_directory \MWS\server |
Command | Description |
help | Prints command syntax in the console window. |
init | Starts My webMethods Server, initializes the My webMethods Server database, and then stops the server. |
ping | If the server is stopped, indicates this fact. If the server is running, returns information, including what ports the server is using. |
restart | Stops a running server and then starts it again. |
run | Starts the server in the same console. |
start | Starts the server in a new console window. On UNIX based operating systems the process is started in background execution mode. |
stop | Stops a running server. |
updatesinfo | Displays information about any fixes that have been installed to My webMethods Server, the My webMethods Server Common Library, or the user interfaces of installed webMethods applications. |
The following commands are for Windows only: | |
installservice | Registers the server as a Windows service. |
restartservice | Stops a server that is registered as a Windows service and then starts it again. |
startservice | Starts a server that is registered as a Windows service. |
stopservice | Stops a server that is registered as a Windows service. |
uninstallservice | Unregisters the server as a Windows service. |
The following commands are for UNIX only: | |
installservice | Registers the server as a UNIX service. The following parameters are required by the command: mws.user=<A user that MWS runs with> platform=<suse or redhat> The platform parameter is mandatory only when My webMethods Server is installed on Linux based operating systems, such as SuSE, or RedHat. |
uninstallservice | Unregisters the server as a UNIX service. The following parameter is required by the command: platform=<suse or redhat> The platform parameter is mandatory only when My webMethods Server is installed on Linux based operating systems, such as SuSE, or RedHat. |
The following commands configure or delete server instances: | |
delete | Deletes an existing instance of My webMethods Server. Accepts only the -s option. See
Deleting a Server Instance. |
getconfig | Downloads a configuration file from the My webMethods Server database. See
Modifying Configuration Files Stored in the
Database. |
putconfig | Uploads a configuration file to the My webMethods Server database |
new | Creates a new server instance. See
Creating a New Server Instance. |
update | Used as part of a product fix, updates classpaths and deploys new or updated components. Accepts only the -s option. Note: Use this command only as directed while installing a fix supplied by Software AG. |