Use this task to set the maximum number of unclaimed results
for a remote asynchronous Enterprise JavaBeans (EJB) method call.
About this task
When a remote asynchronous EJB method is called, the server
must save the results of the remote method invocation until the client
claims the results using the Future.get method. If the client never
claims the result, unclaimed results can accumulate in the server
and use memory. To avoid using too much memory, the server limits
the number of unclaimed results to 1000 by default. If the number
of unclaimed results approaches or exceeds the limit, the server issues
the CNTR0328W warning.
Procedure
- Optional: Open the administrative console.
- Select Servers.
- Select Server Types.
- Select WebSphere application servers.
- Select the server that you want to configure.
- From Server Infrastructure, select Process
definition.
- From Additional Properties, select Java Virtual
Machine .
- In the Additional Properties area, select Custom
Properties .
- On the Application servers page, click New to
specify an arbitrary name and value pair for your server.
- In the Name entry field, type: com.ibm.websphere.ejbcontainer.maxUnclaimedAsyncResults
- In the Value entry field, enter
the wanted maximum number of unclaimed results. The special
value 0 is interpreted as unlimited. The default
value is 1000.
- Click OK.
- Save the configuration.
- Restart the server.
Results
The maximum number of unclaimed asynchronous EJB method results
for all EJBs is set.