WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Managing the size of work areas

Why and when to perform this task

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. 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 > Application servers >server_name > 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, or change the size of the work area that is received by a client when a work area partition is configured for bidirectional propagation: Set the com.ibm.websphere.workarea.maxSendSize or the com.ibm.websphere.workarea.maxReceiveSize property to the desired number of bytes before starting the client. You can set the maximum send and receive size as follows:
    • Set the maximum send and receive size when invoking the launchClient script found in the $WAS_HOME/bin directory. For example, to set the maximum size to 10,000 bytes, add the following system properties to the launchClient invocation as needed: -CCDcom.ibm.websphere.workarea.maxSendSize=10000 or -CCDcom.ibm.websphere.workarea.maxReceiveSize=10000
    • Set the maximum send and receive size properties, com.ibm.websphere.workarea.maxSendSize and com.ibm.websphere.workarea.maxReceiveSize, in a property file that is used by the launchClient script. See "Running application clients" for additional information.

Result

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




Related reference
Work area service settings

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/workarea/tasks/twa_size.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)