https://issues.apache.org/bugzilla/show_bug.cgi?id=51997
Bug #: 51997
Summary: Calling Stop when running a Test with JMS Subscriber
leaves connection to JMS servers open
Product: JMeter
Version: 2.5.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27736
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27736
Test Plan
Hello,
Scenario:
- Using ActiveMQ 5.5.0
- Start test
- Let one sample run
- Call stop before it ends
We have Thread ActiveMQ Tranport tcp://.... Running.
I think it's a bug in ActiveMQ but I open an issue here if anyone meets the
same issue.
Cause is due to an exception occuring on close:
2011/10/08 17:16:59 ERROR - jmeter.protocol.jms.client.ReceiveSubscriber: Error
during close: javax.jms.JMSException: java.io.InterruptedIOException
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)
at
org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1342)
at
org.apache.activemq.ActiveMQConnection.close(ActiveMQConnection.java:660)
at org.apache.jmeter.protocol.jms.Utils.close(Utils.java:65)
at
org.apache.jmeter.protocol.jms.client.ReceiveSubscriber.close(ReceiveSubscriber.java:236)
at
org.apache.jmeter.protocol.jms.sampler.SubscriberSampler.threadFinished(SubscriberSampler.java:305)
at
org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:579)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:986)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:969)
at
org.apache.jmeter.threads.JMeterThread.threadFinished(JMeterThread.java:554)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:328)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.io.InterruptedIOException
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:102)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:40)
at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:81)
at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:91)
at
org.apache.activemq.ActiveMQConnection.doSyncSendPacket(ActiveMQConnection.java:1329)
... 10 more
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]