My webMethods Server 10.2 | Startup and Configuration | Running My webMethods Server from the Command Line | My webMethods Server Instance Administration Commands | new
 
new
Creates a new server instance. Specify instance details as command parameters in the following format: -Dparameter=value.
Options
The new command does not accept any options.
Parameters
Parameter
Description
server.name
Optional. Name of the server instance. Specify a unique name among server instances on the machine. If you do not specify a value, the instance name is default.
http.port
Optional. Port number on which the server instance listens. Specify a unique port number among server instances on the machine. The default port number is 8585.
install.service
Optional. Whether to install a new My webMethods Server instance as an application or a service. Valid values are:
*true - Install as a service.
*false - Default. Install as an application.
node.name
Optional. The name of the cluster node that hosts the server instance. If you do not specify a name, the default value is master.
db.type
Required when using an external database. The type of database used by the server instance. Valid values are:
*ms - Microsoft SQL Server
*oracle - Oracle
*db2 - DB2
*mysqlee - MySQL Enterprise Edition
*mysqlce - MySQL Community Edition
db.url
Required when using an external database. Database connection URL, based on the type of database and the driver.
On UNIX systems, you must escape all semicolon characters in the database connection URL with backward slashes, or enclose the whole database URL parameter in double quotes, as follows:
"-Ddb.url=jdbc:wm:database://
host:port;databaseName=name"
db.driver
Optional. The class name of the JDBC driver used to connect to the My webMethods Server database. Required when using a JDBC driver different than the one supplied by Software AG.
db.username
Required for all external databases. User name assigned to the My webMethods Server database.
db.password
Required for all external databases. Password of the My webMethods Server database user.
jndiProviderUrl
Required. The URL of the Universal Messaging server to use as a JMS provider. If you do not specify a JNDI provider URL, or the Universal Messaging server is unavailable, the My webMethods Server instance starts in maintenance mode.
https.port
Optional. The HTTPS listener port. A value of 0 disables the listener.
debug.port
Optional. The Java debug port. The default port number is 10033.
jmx.port
Optional. The JMX port for the new server instance. The default port number is 5002.
http.proxy.host
Optional. The proxy host name.
http.proxy.port
Optional. The proxy port number.
http.proxy.user
Optional. The proxy user name.
http.proxy.password
Optional. The proxy password.
server.features
The set of component features configured with the server instance. Valid values are:
*core - The minimum set of features required to support development of JSR 168 portlets using Software AG Designer. Includes a pure runtime, with a single skin and shell, and no administration or configuration features.
*default - The standard set of My webMethods Server features, but without extras or development tools found in the MWS/components folder. This is the default value.
*fabric - The default My webMethods Server taxonomy with all installed My webMethods Server user interfaces.
*all - The standard set of features plus all components found in the MWS/components folder.
components.include
Optional. Components in the Software AG_directory\MWS\components directory to include in the new server instance.
components.exclude
Optional. Components in the Software AG_directory\MWS\components directory to exclude from the new server instance.
components.overwrite
Optional. Specifies whether to overwrite the component files in the Software AG_directory\MWS\server\serverName\deploy directory that are older than the component files in the Software AG_directory\MWS\components directory. Valid values are:
*true - Overwrite component files in the \deploy directory.
*false - Default. Do not overwrite component files in the \deploy directory.
Usage Notes
*Before creating a new server instance, use the Database Component Configurator to create a unique database or tablespace for the instance, as described in Installing Software AG Products. Not required when using the embedded database (deprecated), or creating a node in My webMethods Server cluster.
*After creating a new server instance, initialize the instance using the init command. The first initialization of a new My webMethods Server instance takes several minutes to complete. After the first initialization, the server automatically shuts down.
Examples
*To create a new instance with name test, running on port 8090, with an external MS SQL Server database with name my_wm_msql, installed on the server db_server:
> mws new -Dserver.name=test -Dhttp.port=8090
-Ddb.type=ms -Ddb.url=jdbc:wm:sqlserver://db_server:1433;
DatabaseName=my_wm_msql;SelectMethod=direct;MaxPooledStatements=100
-Ddb.username=mws_user -Ddb.password=password
[Configuration output displayed in console window....]
> mws -s test run
My webMethods Server connects to the database using the username mws_user, and the password password.
*To create a new instance with name test, running on port 8090, with the embedded database:
> mws new -Dserver.name=test -Dhttp.port=8090

Copyright © 2004-2018 | 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