This topic applies only on the z/OS operating system.

Configuring servant regions for message-driven beans with JCA version 1.5 resource adapters

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 CRA process for the application server. Use the WebSphere MQ CRA settings panel or the manageWMQ command to include starting the CRA process as part of starting an application server.gotcha

Procedure

  1. Open the administrative console.
  2. Select Servers > Server Types > WebSphere application servers.
  3. Select the server you want to configure.
  4. Under Server Infrastructure, expand Java and Process Management.
  5. Select Process Definition.
  6. SelectServant.
  7. Under Additional Properties, select Environment Entries. This causes a panel with the heading Application servers > server > Process Definition > Servant > Custom Properties to appear.
  8. 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.
  9. In the Name field, enter wlm_maximumSRcount.
  10. In the Value field, enter 1. A servant can be configured to a maximum of 1 servant region by using the administrative console.
  11. Select Apply.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 10:04:34 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=tdat_resservreg
File name: tdat_resservreg.html