Manage the size of work areas

 

Overview

Applications can set maximum sizes on each work area that is sent or received. By default, the maximum size of a work area that is sent by a client and received, then possibly resent, by a server is 32,768 bytes. We can change this size as described in this topic.

 

Procedure

  1. Change the size of the work area that can be sent or received by a server:

    1. Start the administrative console.

    2. Select Servers > Application servers >servername > Business Process Services > Work area service.

    3. Enter a new value in the Maximum send size field to modify the size of the work area that this server can send, or enter a new value in the Maximum receive size field to modify the size of the work area that this server can accept.

  2. Change the size of the work area that can be sent by a client: Set the com.ibm.websphere.workarea.maxSendSize property to the desired number of bytes before starting the client. We can do this in several ways. For example, to set the maximum size to 10,000 bytes, when invoking the launchClient script found in the $WAS_HOME/bin directory, add the following system property to the launchClient invocation

    -CCDcom.ibm.websphere.workarea.maxSendSize=10000
    

 

Result

The maximum size that one can specify is determined by the maximum value expressible in the Java Integer data type, 2,147,483,647. The smallest maximum size that one can specify is 1. Using a maximum size of 1 byte effectively means that no requests associated with the work area can leave the system or enter another system. A value of 0 means that no limit is imposed. A value of -1 means that the default value is to be honored. The default value is also used if an invalid value or a malformed property is specified.


 

See Also


Work area service settings