For any message-driven beans (MDBs) that are not driven
by asynchronous messaging or the IMS Connect for Java (IC4J) resource
adapter, you must redefine the servant region for those beans that
are connected to Java Platform, Enterprise Edition
(Java EE) Connector Architecture (JCA) Version
1.5 resource adapters that support inbound message processing.
About this task
If the application server is configured with one or more
message-driven beans (MDBs) that do not use asynchronous messaging
and are bound to a Java EE Connector Architecture (JCA)
Version 1.5 resource adapter, and the resource adapter supports inbound
message processing, the adapter must be defined to run only a maximum
of 1 servant region. If you use the IMS™ Connect
for Java (IC4J) resource adapter or an adapter that
is driven by asynchronous messaging, you can configure the servant
regions through the adapter configuration.
Avoid trouble: If
the application server is configured with one or more message-driven
beans (MDBs) that are bound to service integration messaging or WebSphere
MQ messaging using a resource adapter, which means that the MDBs use
activation specifications rather than listener ports, then you must
enable the Control Region Adjunct (CRA) process for the application
server. To include starting the CRA process as part of starting an
application server, either select
Enable JCA based inbound
message delivery on the JMS provider settings panel, or
use the manageWMQ command.
gotcha
Procedure
- Open the administrative console.
- Select Servers > Server Types > WebSphere application
servers.
- Select the server you want to configure.
- Under Server Infrastructure, expand Java and
Process Management.
- Select Process Definition.
- Select Servant.
- Under Additional Properties, select Environment Entries. This causes a panel with the heading Application servers > server >
Process Definition > Servant > Custom Properties to appear.
- Select New. A panel with three General
Properties fields appears. This is where you create the environment
variable for controlling the number of servant regions.
- In the Name field, enter wlm_maximumSRcount.
- In the Value field, enter 1. A servant
can be configured to a maximum of 1 servant region by using the administrative
console.
- Select Apply.