Managing the size of work areas

Why and when to perform this task

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

Steps for this task

  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 > server_name > WorkArea Service.
    3. Enter a new value in the maxSendSize field to modify the size of the work area that this server can send, or enter a new value in the maxReceiveSize 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. This can be done in several ways. For example, to set the maximum size to 10,000 bytes, edit the launchClient script in the $WAS_HOME/bin directory and add the following to the Java invocation:
    -Dcom.ibm.websphere.workarea.maxSendSize=10000

Results

The maximum size that can be specified is determined by the maximum value expressible in the Java Integer data type, 2,147,483,647. The smallest maximum size that can be specified 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.


Related reference
WorkArea service settings



Searchable topic ID:   twa_size
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/workarea/tasks/twa_size.html

Library | Support | Terms of Use | Feedback