Example: Setting Custom JVM Properties

In the WebSphere Application Server administrative console, you can change the values of the following custom JVM properties:

com.ibm.websphere.bean.delete.sleep.time
Specifies the time between sweeps to check for timed out beans. The value is entered in seconds. For example, a value of 120 would be 2 minutes. This property also controls the interval in the Servant process that checks for timed out beans still visible to the EJB container.

The default value is 4200 (70 minutes). The minimum value is 60 (1 minute). The value can be changed through the administrative console. To apply this property, you must specify the value in both the Control and Servant JVM Custom Properties.

Steps for this task

  1. Connect to the administrative console and navigate to the Java Virtual Machine Custom Properties panel. For example, click Servers > Application Servers > Controlserver1 > Process Definition > Control > Java Virtual Machine > Custom Properties to define the property in the control, or Application Server >server1 > Process Definition > Servant > Java Virtual Machine > Custom Properties to define the property in the servant.
  2. If the com.ibm.websphere.bean.delete.sleep.time property is not present in the list, click New.
  3. Enter com.ibm.websphere.bean.delete.sleep.time in the name field, and specify an appropriate time, in seconds, in the Value field.
com.ibm.websphere.network.useMultiHome

Set this 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 should have a host name configured on WebSphere Application Server that resolves to a specific IP address.

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, you must 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, click New to create a new property
  3. Specify com.ibm.websphere.network.useMultiHome in the Name field, and specify false in the Value field.
  4. Restart the server.
com.ibm.ejs.am.mode.workbased
Specifies the behavior of the Alarm Manager. By default, the Alarm Manager is set to on. Use this property to set the Alarm Manager to quiet mode (off).

Steps for this task

  1. Connect to the administrative console and navigate to the Java Virtual Machine Custom Properties panel. For example, Servers > Application Servers >server1 > Process Definition > Servant > Java Virtual Machine > Custom Properties
  2. If the com.ibm.ejs.am.mode.workbased property is not present in the list, click New to create a new property name. The New custom properties panel appears.
  3. Specify com.ibm.ejs.am.mode.workbased in the Name field, and specify true in the Value field.
  4. Click OK to save the configuration. When you restart the server, the Alarm Manager will operate in quiet mode.
com.ibm.websphere.deletejspclasses
Deletes JSP 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 page.
  2. If the property is not present in the list, create a new property name.
  3. Enter com.ibm.websphere.deletejspclasses in the Name field, and specify false in the Value field.
com.ibm.websphere.deletejspclasses.delete
Deletes JSP 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 page.
  2. If the com.ibm.websphere.deletejspclasses.delete property is not present in the list, click New to create a new property name.
  3. Enter com.ibm.websphere.deletejspclasses.delete in the Name field, and specify false in the Value field.
com.ibm.websphere.deletejspclasses.update
Deletes JSP 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.
  2. If the com.ibm.websphere.deletejspclasses.update property is not present in the list, click New to create a new property name.
  3. Enter com.ibm.websphere.deletejspclasses.update in the Name field, and specify false in the Value field.
invocationCacheSize

Specifies the size of the invocation cache that is used to store active URLs.

Steps for this task

  1. If the invocationCacheSize property is not present in the list, click New to create a new property
  2. Enter invocationCacheSize in the Name field, and your new setting for this property in the Value field. You can specify any number higher than 0 for the cache size. Setting the value to zero disables the invocation cache.

Related tasks
Using the JVM
Custom property settings



Searchable topic ID:   xrun_jvm
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/xrun_jvm.html

Library | Support | Terms of Use | Feedback