Troubleshoot message-driven beans
Use this overview task to help resolve a problem that you think is related to message-driven beans.
Overview
Message-driven beans support uses the standard WebSphere Application Server troubleshooting facilities. If you encounter a problem that you think might be related to the message-driven beans, complete the following steps.
Procedure
- Check for error messages about message-driven beans. For example, check for error messages that indicate a problem with JMS resources, such as activation specifications or listener ports, that are used by message-driven beans.
Check in the application server's SystemOut.log at was_home\logs\server\SystemOut.
The associated message reference information provides an explanation and any user actions to resolve the problem.
- Check for more informational and error messages that might provide a clue to a related problem. For example, if you have problems accessing JMS resources, check for more error messages and extra details about any problem associated with the JMS provider or with the service integration technologies that the default messaging provider uses.
For messages related to the resource adapter (JMS) of the default messaging provider, look for the prefix: CWSJR. For messages related to service integration technologies, see the related reference topics.
If your message-driven bean uses WAS v5 JMS resources, look for the prefixes: MSGS and WMSG.
- Check the Release Notes for specific problems and workarounds The section Possible Problems and Suggested Fixes of the Release Notes, available from the WebSphere Application Server library web site, is updated regularly to contain information about known defects and their workarounds. Check the latest version of the Release Notes for any information about your problem. If the Release Notes does not contain any information about your problem, one can also search the Technotes database on the WebSphere Application Server web site.
- If your message-driven bean is deployed against a lister port, check that message listener service has started. The message listener service is an extension to the JMS functions of the JMS provider. It provides a listener manager that controls and monitors one or more JMS listeners, which each monitor a JMS destination on behalf of a deployed message-driven bean.
- Check your JMS resource configurations If the messaging services seem to be running properly, check that the JMS resources have been configured correctly. For example, check that the JMS activation specification against which the message-driven bean is deployed has been configured correctly. For more information about configuring JMS resources for message-driven beans, see Administering support for message-driven beans.
- Get a detailed exception dump for messaging. If the information obtained in the preceding steps is still inconclusive, one can enable the application server debug trace for the "Messaging" group to provide a detailed exception dump.
Related Tasks
Administering support for message-driven beans
Troubleshooting WebSphere messaging