Petals ESB Container

The listening IP of the NIO transporter and the WS-API are not configurable and default to the configured container host

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 5.0.0
  • Fix Version/s: 5.0.1
  • Component/s: Transporter, WS API
  • Security Level: Public
  • Description:
    Hide

    The NIO transporter listens to the same host as the one configured in the topology.

    It can be problematic if we want to listen to all ips of the machine (0.0.0.0).
    The bottom of the issue is that we should differentiate between the listening ip and the host/ip used by other container to contact another one.

    This also the case for the WS-API extension.

    Concerning the Admin JMX service, it is a bit different because it is the RMI Registry that actually listens for both of them and it is not configurable to listen to specific interfaces: it will always listen to everything.

    We should introduce thus new configurations in server.properties to specify the address to listen to (localhost, 0.0.0.0, 192.160.1.1, etc):

    • petals.transport.tcp.receivers.listening.interface
    • petals.ws-api.http.listening.interface

    It will default to the host of the current container as declared in the topology!

    Show
    The NIO transporter listens to the same host as the one configured in the topology. It can be problematic if we want to listen to all ips of the machine (0.0.0.0). The bottom of the issue is that we should differentiate between the listening ip and the host/ip used by other container to contact another one. This also the case for the WS-API extension. Concerning the Admin JMX service, it is a bit different because it is the RMI Registry that actually listens for both of them and it is not configurable to listen to specific interfaces: it will always listen to everything. We should introduce thus new configurations in server.properties to specify the address to listen to (localhost, 0.0.0.0, 192.160.1.1, etc):
    • petals.transport.tcp.receivers.listening.interface
    • petals.ws-api.http.listening.interface
    It will default to the host of the current container as declared in the topology!
  • Environment:
    -

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
11s
1
Victor NOËL
Tue, 1 Dec 2015 - 10:52:08 +0100
Open Open In Progress In Progress
2s
1
Victor NOËL
Tue, 1 Dec 2015 - 10:52:10 +0100
In Progress In Progress Resolved Resolved
5h 38m
1
Victor NOËL
Tue, 1 Dec 2015 - 16:30:45 +0100

People

Dates

  • Created:
    Tue, 1 Dec 2015 - 10:51:57 +0100
    Updated:
    Tue, 1 Mar 2016 - 10:33:19 +0100
    Resolved:
    Tue, 1 Dec 2015 - 16:30:45 +0100