Monitor WebSphere Application Server jobs with a message queue

WebSphere Application Server for iSeries allows you to specify an iSeries message queue object to which product messages are sent. The product messages are the same WebSphere Application Server messages that are sent to the joblog of the application server job.

To enable the message queue support for an application server, use the administrative console to specify the os400.websphere.message.queue system property for your server. The message queue is specified by using the Integrated File System pathname of the object. For message queues in library QSYS, the format is /QSYS.LIB/messageQueue.MSGQ. For message queues in libraries other than QSYS, the format is /QSYS.LIB/yourLib.LIB/messageQueue.MSGQ. The message queue must exist and the QEJBSVR user profile must have *CHANGE authority to the message queue.

Follow the steps below to specify the os400.websphere.message.queue system property for your application server:

  1. Start the administrative console.
  2. Expand Servers and click Application Servers.
  3. Click on the link for the application server you wish to change.
  4. Scroll down in the right-hand frame and click Process Definition.
  5. Under the Additional Properties section, click Java Virtual Machine.
  6. Scroll down and click Custom Properties under the Additional Properties section in the right-hand frame.
  7. Click New.
  8. Enter os400.websphere.message.queue in the Name field and enter the integrated file system pathname for the message queue in the Value field. For example, you would specify /QSYS.LIB/QSYSOPR.MSGQ to use the QSYSOPR message queue.
  9. Click Ok.
  10. Click Save at the top of the right-hand frame to save the configuration change.
  11. On the Save page, click Save to save the changes.

Note: You can enable the message queue support for any WebSphere Application Server server such as a Network Deployment Deployment Manager, a node agent, or a JMS server. Simply use the administrative console to locate the server and then follow steps 3 through 11 above.