Executing My webMethods Server Commands
About this task
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
Procedure
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.