+

Search Tips   |   Advanced Search

 

Java Virtual machine custom properties

 

You can use the console to change the values of Java Virtual machine (JVM) custom properties.

To set custom properties, connect to the console and navigate to the Java virtual machine custom properties panel:

Application server  
Deployment manager

System Administration > Deployment Manager > Java and Process Management > Process definition > > Java Virtual Machine > Custom Properties

Node agent

System Administration >Node Agent > nodeagent > Java and Process Management > Process definition > Java Virtual Machine > Custom Properties

If the custom property is not present in the list of already defined custom properties, create a new property, and enter the property name in the Name field and a valid value in the Value field. Restart the server to complete your changes.


 

Related tasks


Custom property settings Configure the JVM

 

com.ibm.websphere.bean.delete.sleep.time

Use this property to specify 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 enterprise bean container.

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

 

com.ibm.websphere.network.useMultiHome

Use this property in a multihomed environment to indicate on which IP addresses the Application Server listens. In a multihomed environment, there is normally a specific IP address that the Application Server is restricted to listening on for Discovery and SOAP messages. Setting the com.ibm.websphere.network.useMultiHome property to:

If you 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 console. Modify the defaults by setting the value for the server, deployment manager, and node agent. You must restart the server before these changes take effect.

 

com.ibm.websphere.deletejspclasses

Use this property to indicate to delete JavaServer Pages classes for all applications after those applications have been deleted or updated. The default value for this property is true.

 

com.ibm.websphere.deletejspclasses.delete

Use this property to indicate to delete JavaServer Pages classes for all applications after those applications have been deleted, but not after they have been updated. The default value for this property is true.

 

com.ibm.websphere.deletejspclasses.update

Use this property to indicate to delete JavaServer Pages classes for all applications after those applications have been updated, but not after they have been deleted. The default value for this property is true.

 

com.ibm.websphere.management.registerServerIORWithLSD

Use this property to control whether a federated server registers with the Location Service Daemon (LSD). Normally, a federated server requires the node agent to be running. To direct the server to not register with the LSD and remove its dependency on an active node agent, the com.ibm.websphere.management.registerServerIORWithLSD JVM custom property must be set to false, and the ORB_LISTENER_ADDRESS must be set to a value greater than 0 so that the ORB listens at a fixed port. The setting for this property is ignored if the ORB_LISTENER_ADDRESS property is set to 0 (zero) or is not specified, and the federated server registers with the LSD.

Set this property to false if you want the server to run even when the node agent is not running. When this property is set to true, the federated server registers with the LSD.

The default value for this custom property is true.

 

invocationCacheSize

The invocationCacheSize custom property is used to control the size of the invocation cache. The invocation cache holds information for mapping request URLs to servlet resources. A cache of the requested size is created for each worker thread that is available to process a request. The default size of the invocation cache is 50. If more than 50 unique URLs are actively being used (each JavaServer Page is a unique URL), you should increase the size of the invocation cache.

A larger cache uses more of the Java heap, so you might also need to increase the maximum Java heap size. For example, if each cache entry requires 2KB, maximum thread size is set to 25, and the URL invocation cache size is 100; then 5MB of Java heap are required.

You can specify any number higher than 0 for the cache size. Setting the value to zero disables the invocation cache.

 

java.net.preferIPv4Stack

Use this property to disable IPv6 support. On operating systems where IPv6 support is available, the underlying native socket that WebSphere Application Server uses is an IPv6 socket. On IPv6 network stacks that support IPv4-mapped addresses, you can use IPv6 sockets to connect to and accept connections from both IPv4 and IPv6 hosts.

Setting this property to true disables the dual mode support in the JVM which might, in turn, disrupt normal WAS functions. Therefore, it is important to understand the full implications before using this property. In general, setting this property is not recommended.

The default value for this custom property is false, except on the Windows operating system where the default is true.

 

java.net.preferIPv6Addresses

Use this property to disable IPv4 support. Setting this property to true disables the dual mode support in the JVM which might, in turn, disrupt normal WebSphere Application Server functions. Therefore, it is important to understand the full implications before using this property. In general, setting this property is not recommended.

The default value for this custom property is false, except on the Windows operating system where the default is true.

 

Reference topic