Set custom JVM properties

In the WAS administrative console, one can change the values of the following custom JVM properties:

com.ibm.websphere.network.useMultiHome

For a distributed platform:

Set this property in a multihomed environment where WAS is restricted to listen only on a specific IP address for Discovery and SOAP messages.

The settings for the com.ibm.websphere.network.useMultiHome property are as follows:

  • Setting this property to false specifies that WebSphere Application Server will listen on all IP addresses on the host for Discovery and SOAP messages.

  • Setting this property to true specifies that WebSphere Application Server will only listen on the configured host name for Discovery and SOAP messages. If you set this property to true, you should have a host name configured on WAS that resolves to a specific IP address.

  • Setting this property to null specifies that WebSphere Application Server will only listen on the default IP address only.

If one cannot contact the server, check the setting for com.ibm.websphere.network.useMultihome to ensure it is correct.

You can change the value through the administrative console. Modify the defaults by setting the value for the server, deployment manager, and node agent. In order for these changes to take place, restart the server.

Steps for this task

  1. To set this property, connect to the administrative console and navigate to the indicated page.

    Application server Servers > Application Servers >server1> Process Definition > Control > Java Virtual Machine > Custom Properties
    Deployment manager System Administration > Deployment Manager > Process definition > Control > Java Virtual Machine > Custom Properties
    Node agent System Administration >Node Agent > nodeagent > Process definition >Control > Java Virtual Machine > Custom Properties

  2. If the com.ibm.websphere.network.useMultiHome property is not present in the list, create a new property name and indicate its value.

  3. Restart the server.

com.ibm.websphere.deletejspclasses

Deletes JavaServer Pages classes for all applications after those applications have been deleted or updated. By default, the value of this property is true.

Steps for this task

  1. Connect to the administrative console and navigate to the Java Virtual Machine Custom Properties panel.

    For a distributed platform:

    Base configuration Servers > Application Servers >server1. Then, under Server Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine > Custom Properties
    ND configuration System Administration > Node Agents > nodeagent. Then, under Server Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine > Custom Properties

  2. If the com.ibm.websphere.deletejspclasses property is not present in the list, create a new property name.

  3. Enter the name and value.

com.ibm.websphere.deletejspclasses.delete

Deletes JavaServer Pages classes for all applications after those applications have been deleted, but not after they have been updated. By default, the value of this property is true.

Steps for this task

  1. Connect to the administrative console and navigate to the Java Virtual Machine Custom Properties panel.

    For a distributed platform:

    Base configuration Servers > Application Servers >server1 > Process definition > Java Virtual Machine > Custom Properties
    ND configuration System Administration > Node Agents > nodeagent. Then, under Server Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine > Custom Properties

  2. If the com.ibm.websphere.deletejspclasses.delete property is not present in the list, create a new property name.

  3. Enter the name and value.

com.ibm.websphere.deletejspclasses.update

Deletes JavaServer Pages classes for all applications after those applications have been updated, but not after they have been deleted. By default, the value of this property is true.

Steps for this task

  1. Connect to the administrative console and navigate to the Java Virtual Machine Custom Properties panel.

    For a distributed platform:

    Base configuration Servers > Application Servers >server1. Then, under Server Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine > Custom Properties
    ND configuration System Administration > Node Agents > nodeagent. Then, under Server Infrastructure, click Java and Process Management > Process definition > Java Virtual Machine> Custom Properties

  2. If the com.ibm.websphere.deletejspclasses.update property is not present in the list, create a new property name.

  3. Enter the name and value.


 

Related Tasks


Custom property settings

 



 

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.