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:
- Start the administrative console.
- Navigate to the application server, deployment manager, or node agent.
- For an application server, expand Servers, click Application Servers and click the name of your application server.
- For a deployment manager, expand System Administration and click Deployment Manager.
- For a node agent, expand System Administration, click Node Agents, and click the name of the node agent.
- Click Process Definition.
- On the Process Definition page, click Java Virtual Machine.
- On the Java Virtual Machine page, click Custom Properties.
- On the Custom Properties page, you can create a new custom property or change the value of an existing custom property.
- To create a new custom property, perform these steps:
- Click New.
- In the Name field, specify the name of the custom property. In the Value field, specify an appropriate value for the property.
- Click Apply or OK.
- To change the value of an existing custom property, perform these steps:
- Click the name of the custom property that you want to change.
- Specify a new value for the property.
- Click Apply or OK.
- Save the configuration.
- 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:
- In the administrative console, navigate to Servers --> Application Servers --> Process Definition --> Java Virtual Machine --> Custom Properties.
- Click New.
- In the Name field, specify com.ibm.websphere.network.useMultiHome.
- In the Value field, specify false.
- Click OK.
- Save the configuration.