mailkr
12 years agoNew Contributor
SoapUI - HermesJMS - InvalidClientIDException
We are trying to use SoapUI load test with HermesJMS to submit multiple jms requests through multiple threads.
With multiple threads, we are getting InvalidClientIDException exception from ActiveMQ.
With single thread, it works fine, i'm not sure how to mimic unique clientID for each thread, any expert advise?
-----------------------------------------------------------------------------------------------------------------------------------
Fri Aug 09 17:47:54 EDT 2013:ERROR:javax.jms.InvalidClientIDException: Broker: amq - Client: activeMQSession-UserEvents already connected from tcp://172.30.20.10:51830
javax.jms.InvalidClientIDException: Broker: amq - Client: activeMQSession-UserEvents already connected from tcp://172.30.20.10:51830
at org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:216)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:79)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:91)
at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:766)
at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:79)
at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)
at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)
at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:288)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
at java.lang.Thread.run(Thread.java:662)
With multiple threads, we are getting InvalidClientIDException exception from ActiveMQ.
With single thread, it works fine, i'm not sure how to mimic unique clientID for each thread, any expert advise?
-----------------------------------------------------------------------------------------------------------------------------------
Fri Aug 09 17:47:54 EDT 2013:ERROR:javax.jms.InvalidClientIDException: Broker: amq - Client: activeMQSession-UserEvents already connected from tcp://172.30.20.10:51830
javax.jms.InvalidClientIDException: Broker: amq - Client: activeMQSession-UserEvents already connected from tcp://172.30.20.10:51830
at org.apache.activemq.broker.region.RegionBroker.addConnection(RegionBroker.java:216)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.advisory.AdvisoryBroker.addConnection(AdvisoryBroker.java:79)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:85)
at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:91)
at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:766)
at org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:79)
at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)
at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)
at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
at org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:288)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
at java.lang.Thread.run(Thread.java:662)