Software AG Products 10.11 | Running Business Processes and Composite Applications | Administering My webMethods Server | Startup and Configuration | Running My webMethods Server from the Command Line | Configuring JVM Properties for My webMethods Server Commands
 
Configuring JVM Properties for My webMethods Server Commands
The command line utility for My webMethods Server operates in a separate JVM, different than the main server runtime environment. When executing My webMethods Server a command, the utility uses its default settings, regardless of the JVM configuration, specified for My webMethods Server in the custom_wrapper.conf file. You can customize the JVM setting for the My webMethods Server command utility by supplying a server.properties file with the required configuration in the Software AG_directory\MWS\server\serverName\config\ directory of your server instance.
Example: server.properties Configuration File
# JVM configuration
jvm.arg=-Xms32m
jvm.arg=-Xmx1024m
jvm.arg=-server

# SSL options
java.option=-Djavax.net.ssl.keyStore="${server.home}/config/security/localhost.p12"
java.option=-Djavax.net.ssl.keyStorePassword={DES}vrFIelCdkow=
java.option=-Djavax.net.ssl.keyStoreType=pkcs12

java.option=-Djavax.net.ssl.trustStore="${server.home}/config/security/sagdemoca.jks"
java.option=-Djavax.net.ssl.trustStorePassword={DES}vrFIelCdkow=
java.option=-Djavax.net.ssl.trustStoreType=jks

# Proxy configuration
java.option=-DproxySet=false
java.option=-Dhttp.proxyHost=
java.option=-Dhttp.proxyPort=
java.option=-Dhttp.proxyUser=
java.option=-Dhttp.proxyPassword=
java.option=-Dhttp.nonProxyHosts=
Supply JVM configuration options as follows:

jvm.arg=jvm.configuration.argument
Supply Java system properties as follows:

java.option=-Dany.java.system.property=value