activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothy Bish (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-5641) Failed to add Connection ID
Date Wed, 11 Mar 2015 13:19:38 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14356852#comment-14356852
] 

Timothy Bish commented on AMQ-5641:
-----------------------------------

Still does not appear to be an ActiveMQ issue.  The line in your config: 
{code}
        <constructor-arg type="java.lang.String" value="${baoxin.amqp.client.name}" />
{code}
is setting the client ID on each connection created from this bean factory.  Any time a second
instance is created while the first one is still open you will get this error which is proper
JMS client behavior. 

> Failed to add Connection ID
> ---------------------------
>
>                 Key: AMQ-5641
>                 URL: https://issues.apache.org/jira/browse/AMQ-5641
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: AMQP, Connector
>    Affects Versions: 5.11.0
>         Environment: windows server 2008
>            Reporter: AndyShi
>            Priority: Critical
>
> AMQP is used as the following configuraiton.
> <transportConnector name="amqp" uri="amqp://0.0.0.0:5672?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>
> 2015-03-05 16:09:41,175 | WARN  | Failed to add Connection ID:PVVM040012-49713-1425523498161-2:13
| org.apache.activemq.broker.TransportConnection | ActiveMQ Transport: tcp:///xxx.xxx.xxx.xxx:34542@5672
> javax.jms.InvalidClientIDException: Broker: localhost - Client: WCarClient9 already connected
from tcp://xxx.xxx.xxx.xxx:33834
> 	at org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:255)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.jmx.ManagedRegionBroker.addConnection(ManagedRegionBroker.java:231)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:92)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:103)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:102)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:809)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:79)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[activemq-client-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:334)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)[activemq-broker-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpTransportFilter.sendToActiveMQ(AmqpTransportFilter.java:114)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.sendToActiveMQ(AmqpProtocolConverter.java:1497)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onConnectionOpen(AmqpProtocolConverter.java:525)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.processConnectionEvent(AmqpProtocolConverter.java:380)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onFrame(AmqpProtocolConverter.java:325)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpProtocolConverter.onAMQPData(AmqpProtocolConverter.java:275)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.amqp.AmqpTransportFilter.onCommand(AmqpTransportFilter.java:98)[activemq-amqp-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)[activemq-client-5.11.1.jar:5.11.1]
> 	at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)[activemq-client-5.11.1.jar:5.11.1]
> 	at java.lang.Thread.run(Unknown Source)[:1.7.0_65]
> 2015-03-05 16:09:41,175 | WARN  | Transport Connection to: tcp://118.145.21.68:34542
failed: java.io.IOException: Broker: localhost - Client: WCarClient9 already connected from
tcp://xxx.xxx.xxx.xxx:33834 | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ
Transport: tcp:///xxx.xxx.xxx.xxx:34542@5672



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message