Configuring listeners

This section describes how to create, modify, and delete a listener. All of the configuration tasks require you to first access the Listeners folder from the Adaptive Server plug-in:

  1. Double-click the Adaptive Server icon.

  2. Double-click the Enterprise Java Beans folder.

  3. Double-click the EJB Server folder.

  4. Click the Listeners folder on the right side of the window.

StepsCreating a new listener

  1. Double-click the Add new listener icon.

    The Add new listener wizard displays.

  2. Add the name, host name, and port number for the listener in the Name and Description window. Press Next. See Table 10-6

  3. Select the iiop, http, or tds protocol from the drop-down menu on the Select Type of Protocol window. Press Next.

  4. Verify the new listener on the Summary Page Window. Press Finish.

The new listener appears on the right side of the window.

StepsModifying an existing listener

  1. Highlight the listener you want to modify.

  2. Select File | Properties.

  3. Make your modifications and click OK. Listener properties are described in Table 10-6.

StepsDeleting a listener

  1. Highlight the listener you want to delete.

  2. Select File | Delete.

Table 10-6: Listener profile properties

Property

Description

Comments/example

Protocol

Select the protocol from the drop-down list:

  • IIOP

  • HTTP

  • TDS

TDS, IIOP, and HTTP do not provide encryption. TDS and IIOP provide user name and password-based authentication.

Host name

The name or IP address of the EJB Server host to which the listener is being assigned.

Use the actual machine name or IP address. This allows clients from other machines access to EJB Server.

Port

The port number on the host to which the listener is assigned.

Make sure that the port is not in use by any other service.