Starting a listener port

Use this task to start a listener port on an application server, to enable the listeners for message-driven beans associated with the port to retrieve messages.

Why and when to perform this task

A listener is active, that is able to receive messages from a destination, if the deployed message-driven bean, listener port, and message listener service are all started. Although you can start these components in any order, they must all be in a started state before the listener can retrieve messages.

If configured as enabled, a listener port is started automatically when a message-driven bean associated with that port is installed. However, you can start a listener port manually, as described in this topic.

When a listener port is started, the listener manager tries to start the listeners for each message-driven bean associated with the port. If a message-driven bean is stopped, the port is started but the listener is not started, and remains stopped. If you start a message-driven bean, the related listener is started.

To start a listener port on an application server, use the administrative console to complete the following steps:

Steps for this task

  1. If you want the listener for a deployed message-driven bean to be able to receive messages at the port, check that the message-driven bean has been started.
  2. In the navigation pane, select Servers-> Application Servers
    This displays a table of the application servers in the administrative domain.
  3. In the content pane, click the name of the application server.
    This displays the properties of the application server in the content pane.
  4. In the Additional Properties table, select Message Listener Service
    This displays the Message Listener Service properties in the content pane.
  5. In the content pane, select Listener Ports.
    This displays a list of the listener ports.
  6. Select the checkbox for the listener port that you want to start.
  7. Click Start.
  8. To save your configuration, click Save on the task bar of the Administrative console window.

Related tasks
Administering listener ports
Configuring message listener resources for message-driven beans



Searchable topic ID:   tmb_adm03
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tmb_adm03.html

Library | Support | Terms of Use | Feedback