Running Business Processes and Composite Applications 10.4 | Running Business Processes and Composite Applications | Administering My webMethods Server | Running My webMethods Server from the Command Line | Executing My webMethods Server Commands
 
Executing My webMethods Server Commands
You can perform basic administration and configuration operations using the My webMethods Server command line utility. Starting the server from the command line, for example, allows the use of debug mode so you can record or display server activity.
* To execute My webMethods Server commands
1. At a command line prompt, go to the My webMethods Server bin directory:
Software AG_directory\MWS\bin
2. To run a command, type a My webMethods Server command with the required options and parameters and press Enter.
Example
mws new -Dserver.name=testInstance -Dhttp.port=8586 -Ddb.type=sqlserver
-Ddb.url=jdbc:wm:sqlserver://dbserver:1433;databaseName=WMDB
-Ddb.username=sa -Ddb.password=manage
The example command creates a new My webMethods Server instance named testInstance, accessible on port 8586. The new server instance uses an SQL Server database with the name WMDB, installed on the dbserver machine, port 1433. The username and password to connect to the database are sa and manage.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release