Set JVM custom properties

You can set JVM custom properties for application servers, deployment managers, and node agents.

Note: If you are using Network Deployment, you must set custom properties for the application server and the deployment manager. If you do not set them in the deployment manager, the plugin configuration regeneration cannot set the correct values in the plugin configuration file.

To set JVM custom properties, perform these steps:

  1. Start the administrative console.
  2. Navigate to the application server, deployment manager, or node agent.
  3. Click Process Definition.
  4. On the Process Definition page, click Java Virtual Machine.
  5. On the Java Virtual Machine page, click Custom Properties.
  6. On the Custom Properties page, you can create a new custom property or change the value of an existing custom property.
  7. Save the configuration.
  8. Restart the application server for the changes to take effect.

Example: the com.ibm.websphere.network.useMultiHome custom property

You can set this JVM custom property in a multihomed environment where WebSphere Application Server is restricted to listen only on a specific IP address for Discovery and SOAP messages. By default, the value of the property is true and the application server listens on all IP addresses on the host for Discovery and SOAP messages. If the property is set to false, then WebSphere Application Server will only listen on the configured host name for Discovery and SOAP messages. If you set the property to false, you must have a host name configured on WebSphere Application Server that resolves to a specific IP address.

To set this property so that the application server listens on only one port, follow these steps:

  1. In the administrative console, navigate to Servers --> Application Servers --> Process Definition --> Java Virtual Machine --> Custom Properties.
  2. Click New.
  3. In the Name field, specify com.ibm.websphere.network.useMultiHome.
  4. In the Value field, specify false.
  5. Click OK.
  6. Save the configuration.