[
https://issues.apache.org/jira/browse/QPID-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Keith Wall resolved QPID-5977.
------------------------------
Resolution: Fixed
Fix Version/s: 0.31
> Ports created through the web management ui have no transports
> --------------------------------------------------------------
>
> Key: QPID-5977
> URL: https://issues.apache.org/jira/browse/QPID-5977
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.29
> Reporter: Keith Wall
> Priority: Blocker
> Fix For: 0.29, 0.31
>
>
> 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:
> {noformat}
> 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)
> {noformat}
> 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":[]}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]