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

ABDELOUHAB MOHAMMED commented on AMQ-6075:
------------------------------------------

i have the same error with the version 5.15.11 and openjdk 8

 

2020-02-17 14:55:05,098 | WARN | Failed to add Connection 
id=ID:xxxx-42605-1581514054408-2:120, clientId=xxxx due to {} | 
org.apache.activemq.broker.TransportConnection | qtp-210690747-534
javax.jms.InvalidClientIDException: Broker: localhost - Client: xxxx already 
connected from blockingQueue_920727276
 at 
org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:247)[activemq-broker-5.15.11.jar:5.15.11]
 at 
org.apache.activemq.broker.jmx.ManagedRegionBroker.addConnection(ManagedRegionBroker.java:227)[activemq-broker-5.15.11.jar:5.15.11]
 at 
org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:99)[activemq-broker-5.15.11.jar:5.15.11]

 

i have an http client connection to the broker with the following configuration:

 

<transportConnector name="http" 
uri="http://0.0.0.0:8081?maximumConnections=1000&amp;wireFormat.maxFrameSize=104857600"/>

 

 

> javax.jms.InvalidClientIDException: Broker:… already connected
> --------------------------------------------------------------
>
>                 Key: AMQ-6075
>                 URL: https://issues.apache.org/jira/browse/AMQ-6075
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Pool
>    Affects Versions: 5.12.1
>         Environment: OS:Windows Server 2012
>            Reporter: mq
>            Priority: Critical
>
> We have a two node network brokers set up. it can work fine two or three 
> days. Suddenly, every broker will try to create connection to each other, but 
> because 
> There are already has connected to each other, so it will throw a 
> “javax.jms.InvalidClientIDException”.The brokers will retry after 6 second, 
> and the same exception will happened. 
> activemq.log
> 1:02:54,925 | INFO  | Establishing network connection from 
> vm://MQServer1?async=false to tcp://MQServer-2:61618 | 
> org.apache.activemq.network.DiscoveryNetworkConnector | 
> Notifier-MulticastDiscoveryAgent-listener:DiscoveryNetworkConnector:NC:BrokerService[MQServer1]
> 1:02:55,097 | WARN  | Failed to add Connection 
> MQServer1->MQServer2-123456-123456788990-123:1 due to 
> javax.jms.InvalidClientIDException: Broker: MQServer1 - Client: 
> NC_MQServer2_inbound_MQServer1 already connected from vm://MQServer1#2 | 
> org.apache.activemq.broker.TransportConnection | 
> triggerStartAsyncNetworkBridgeCreation: 
> remoteBroker=tcp://MQServer-2/190.100.100.11:61618@56430, localBroker= 
> vm://MQServer1#4
> 1:02:55,097 | INFO  | Network connection between vm://MQServer1#4 and 
> tcp://MQServer-2/190.100.100.11:61618@56430 shutdown due to a local error: 
> javax.jms.InvalidClientIDException: Broker: MQServer1 - Client: 
> NC_MQServer2_inbound_MQServer1 already connected from vm://MQServer1#2 | 
> org.apache.activemq.network.DemandForwardingBridgeSupport | 
> triggerStartAsyncNetworkBridgeCreation: 
> remoteBroker=tcp://MQServer-2/190.100.100.11:61618@56430, localBroker= 
> vm://MQServer1#4
> 1:02:55,144 | INFO  | MQServer1 bridge to MQServer2 stopped | 
> org.apache.activemq.network.DemandForwardingBridgeSupport | ActiveMQ 
> BrokerService[MQServer1] Task-2043
> wrapper.log
> INFO   | jvm 1    | 1:02:55 |  INFO | Establishing network connection from 
> vm://MQServer1?async=false to tcp://MQServer-2:61618
> INFO   | jvm 1    | 1:02:55 |  WARN | Failed to add Connection 
> MQServer1->MQServer2-123456-123456788990-123:1 due to 
> javax.jms.InvalidClientIDException: Broker: MQServer1 - Client: 
> NC_MQServer2_inbound_MQServer1 already connected from vm://MQServer1#2
> INFO   | jvm 1    | 1:02:55 |  INFO | Network connection between 
> vm://MQServer1#4 and tcp://MQServer-2/190.100.100.11:61618@56430 shutdown due 
> to a local error: javax.jms.InvalidClientIDException: Broker: MQServer1 - 
> Client: NC_MQServer2_inbound_MQServer1 already connected from vm://MQServer1#2
> INFO   | jvm 1    | 1:02:55 |  INFO | MQServer1 bridge to MQServer2 stopped



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to