Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5977

Ports created through the web management ui have no transports

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.29
    • Fix Version/s: 0.29, 0.31
    • Component/s: Broker-J
    • Labels:
      None

      Description

      If I create a port through the web ui and do not specify a transport, I expect the port's default transport (TCP) to take effect. This does not happen, instead I see an error and the following message written to the log:

      2014-08-08 11:56:34,135 ERROR [Broker-Configuration-Thread] (port.AbstractPort) - Unable to active port 'myampq'of type AMQP on port 15671
      org.apache.qpid.server.configuration.IllegalConfigurationException: No transport providers found which can satisfy the requirement to support the transports: []
      	at org.apache.qpid.server.model.port.AmqpPortImpl.onActivate(AmqpPortImpl.java:159)
      	at org.apache.qpid.server.model.port.AbstractPort.activate(AbstractPort.java:308)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.attainState(AbstractConfiguredObject.java:712)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.doAttainState(AbstractConfiguredObject.java:496)
      	at org.apache.qpid.server.model.AbstractConfiguredObject.create(AbstractConfiguredObject.java:479)
      	at org.apache.qpid.server.model.AbstractConfiguredObjectTypeFactory.create(AbstractConfiguredObjectTypeFactory.java:58)
      

      Looking at the PUT sent by the UI I see that an empty port list has been sent. In cases where the user has made no selection, it should probably be omitting the attribute altogether.

      {"name":"myampq","port":"15671","type":"AMQP","authenticationProvider":"passwordFile","transports":[]}

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kwall Keith Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: