Monitor the application server jobs with a message queue

The application server allows you to specify an iSeries message queue object where product messages are sent. The product messages are the same application server messages that are sent to the job log.

To enable 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 fully qualified 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.

To use the os400.WebSphere.message.queue system property for your application server, follow these steps:

  1. Start HTTP Server Administration interface.
  2. Click the Manage tab.
  3. Select your application server from the Server list.
  4. Expand Tools.
  5. Click Launch Express Console.
  6. Expand Servers.
  7. Click Application Servers.
  8. Select your application server from the table.
  9. Click Process Definition.
  10. Click Java virtual machine.
  11. Click Custom Properties.
  12. Click New.
  13. Specify os400.WebSphere.message.queue in the Name field.
  14. Specify the fully qualified pathname for the message queue in the Value field.
  15. Click OK.
  16. Click the Save link at the top of the page to save your configuration changes. Click Save on the resulting page.
  17. Stop and restart your application server.