Thursday, August 22, 2013

Stuck messages occur for WebSphere Process Server (WPS) and WebSphere Enterprise Service Bus (WESB) on SCA.SYSTEM.etail_cell01.Bus destinations.

Environment

The problem can occur in WebSphere Process Server or WebSphere Enterprise Service Bus-related modules that are deployed on a server or clustered environment. This problem occurs only for asynchronous messaging on SCA modules.

Diagnosing the problem

To diagnose the problem, monitor the queue destinations for the message counter and review the settings for the forward routing path of the affected queue destinations.
Monitor the queue destinations in an asynchronous communication scenario. If the number of messages on the queue only increases, then the messages are not routed forward. This scenario applies to destinations that do not have a defined forward routing path (except the module destination, which has an applied MDB, which reads the messages from the queue).

Use the Service Integration Bus Explorer to monitor module-related queues or review the number of messages on the queue using the administrative console:

Administrative console Service integration Buses SCA.SYSTEM.cellName.Bus Destinations sca/destinationName Queue points destinationName@messagingEngineName Runtime tab Current message depth

Use the refresh button to get the current value of the message counter to monitor the behavior over time:





Stuck messages on the module destination queue (optional)
If messages remain on the module destination queue, verify that the activation specification of the MDB that is listening on that queue is configured correctly:

Administrative console Resources Resource adapters J2C activation specifications sca/moduleName/ActivationSpec J2C activation specification custom properties

Check that busName refers to the correct SCA bus (SCA.SYSTEM.cellName.Bus) and that destinationName refers to the module destination (sca/moduleName).

Resolving the problem

Follow this procedure to resolve the problem:

  1. Identify the destination where messages are stuck.
  2. Set the correct forward routing path on the destination (set the path to the module destination).
  3. Save the master configuration. 
Example :

Destination Name : sca/PubProdMED/component/PubProdMF
ModuleName :  PubProdMED
Routing Path:


The messages should immediately be routed to the specified target destination. You do not need to restart the server.