-
Bug
-
Resolution: Done
-
Major
-
None
-
JBoss A-MQ 6.3
I am getting 11:49:47,583 WARN Transport Connection to: tcp://127.0.0.1:52870 failed: java.io.IOException: Unexpected error occurred: java.lang.NoSuchMethodError: org.apache.qpid.proton.engine.Transport.setEmitFlowEventOnSend(Z)V when running JMS test suite that is linked in the first (private comment). This error appears with A-MQ 6.3.0 RC1 on RHEL5 with qpid-jms 0.5.0 (the latest released version on RHEL5). It does not appear if I switch to A-MQ 6.2.1. Therefore, it is a regression.
get activemq-all.jar to your local maven repository
wget http://ooo.englab.brq.redhat.com/packages/mrgm/jboss_amq/6.3.0/jboss-a-mq-6.3.0.redhat-159.zip unzip jboss-a-mq-6.3.0.redhat-159.zip cd jboss-a-mq-6.3.0.redhat-159/extras/ unzip apache-activemq-5.11.0.redhat-630159-bin.zip mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=`find . -name "*activemq-all*.jar"`
wget http://ooo.englab.brq.redhat.com/packages/mrgm/jboss_amq/6.2.1/jboss-a-mq-6.2.1.redhat-117.zip unzip jboss-a-mq-6.2.1.redhat-117.zip cd jboss-a-mq-6.2.1.redhat-117/extras unzip apache-activemq-5.11.0.redhat-621117-bin.zip mvn org.apache.maven.plugins:maven-install-plugin:2.5.2:install-file -Dfile=`find . -name "*activemq-all*.jar"`
compile and execute.
cd dtests/node_data/frameworks/jamq_jms_amqp_qe_units mvn compile mvn exec:java -Dexec.mainClass="com.redhat.mqe.jms.main.TestRunner"
tests fail
[INFO] --- exec-maven-plugin:1.5.0:java (default-cli) @ my-module --- 11:49:42,196 INFO ====== Starting (1) com.redhat.mqe.jms.tests.Scenario18Test.persistDupsAckRestart ====== connfac is null 11:49:42,598 WARN Memory Usage for the Broker (1024mb) is more than the maximum available for the JVM: 490 mb - resetting to 70% of maximum available: 343 mb 11:49:46,286 WARN Store limit is 102400 mb (current store usage is 0 mb). The data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/KahaDB only has 34968 mb of usable space., resetting to maximum available disk space: 34968 mb 11:49:46,288 WARN Temporary Store limit is 51200 mb, whilst the temporary data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/tmp_storage only has 34968 mb of usable space., resetting to maximum available 34968 mb. 11:49:46,289 WARN Job Scheduler Store limit is 51200 mb, whilst the data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/scheduler only has 34968 mb of usable space - resetting to 34968 mb. 11:49:47,583 WARN Transport Connection to: tcp://127.0.0.1:52870 failed: java.io.IOException: Unexpected error occurred: java.lang.NoSuchMethodError: org.apache.qpid.proton.engine.Transport.setEmitFlowEventOnSend(Z)V 11:49:47,599 ERROR Start Connection problem. Transport connection remotely closed. javax.jms.JMSException: Transport connection remotely closed. at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:66) at org.apache.qpid.jms.exceptions.JmsExceptionSupport.create(JmsExceptionSupport.java:88) at org.apache.qpid.jms.JmsConnection.createResource(JmsConnection.java:615) at org.apache.qpid.jms.JmsConnection.connect(JmsConnection.java:522) at org.apache.qpid.jms.JmsConnection.start(JmsConnection.java:315) at com.redhat.mqe.jms.main.Scenario.startConnection(Scenario.java:184) at com.redhat.mqe.jms.tests.ScenarioTest.setUp(ScenarioTest.java:99) at com.redhat.mqe.jms.tests.ScenarioTest.setUp(ScenarioTest.java:65) at com.redhat.mqe.jms.tests.Scenario18Test.testScenario(Scenario18Test.java:20) at com.redhat.mqe.jms.tests.Scenario18Test.persistDupsAckRestart(Scenario18Test.java:138) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:62) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:49) at com.redhat.mqe.jms.main.TestRunner.main(TestRunner.java:19) 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.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Transport connection remotely closed. at org.apache.qpid.jms.provider.amqp.AmqpProvider$19.run(AmqpProvider.java:752) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ... 1 more 11:49:48,144 ERROR Start Session problem. The Connection is closed javax.jms.IllegalStateException: The Connection is closed at org.apache.qpid.jms.JmsConnection.checkClosed(JmsConnection.java:589) at org.apache.qpid.jms.JmsConnection.checkClosedOrFailed(JmsConnection.java:571) at org.apache.qpid.jms.JmsConnection.createSession(JmsConnection.java:250) at com.redhat.mqe.jms.main.Scenario.startSession(Scenario.java:198) at com.redhat.mqe.jms.tests.ScenarioTest.setUp(ScenarioTest.java:107) at com.redhat.mqe.jms.tests.ScenarioTest.setUp(ScenarioTest.java:65) at com.redhat.mqe.jms.tests.Scenario18Test.testScenario(Scenario18Test.java:20) at com.redhat.mqe.jms.tests.Scenario18Test.persistDupsAckRestart(Scenario18Test.java:138) 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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at org.junit.runner.JUnitCore.run(JUnitCore.java:105) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:62) at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:49) at com.redhat.mqe.jms.main.TestRunner.main(TestRunner.java:19) 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.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) at java.lang.Thread.run(Thread.java:745) 11:49:48,157 WARN Memory Usage for the Broker (1024mb) is more than the maximum available for the JVM: 490 mb - resetting to 70% of maximum available: 343 mb 11:49:48,277 WARN Store limit is 102400 mb (current store usage is 0 mb). The data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/KahaDB only has 34968 mb of usable space., resetting to maximum available disk space: 34968 mb 11:49:48,279 WARN Temporary Store limit is 51200 mb, whilst the temporary data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/tmp_storage only has 34968 mb of usable space., resetting to maximum available 34968 mb.
edit pom.xml and switch to 117 activemq-all version, compile and execute. Tests run fine now:
[INFO] --- exec-maven-plugin:1.5.0:java (default-cli) @ my-module --- 11:46:46,029 INFO ====== Starting (1) com.redhat.mqe.jms.tests.Scenario18Test.persistDupsAckRestart ====== connfac is null 11:46:49,055 WARN Memory Usage for the Broker (1024 mb) is more than the maximum available for the JVM: 490 mb - resetting to 70% of maximum available: 343 mb 11:46:49,058 WARN Store limit is 102400 mb (current store usage is 0 mb). The data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/KahaDB only has 34968 mb of usable space - resetting to maximum available disk space: 34968 mb 11:46:49,060 WARN Temporary Store limit is 51200 mb, whilst the temporary data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/tmp_storage only has 34968 mb of usable space - resetting to maximum available 34968 mb. 11:46:49,061 WARN Job Scheduler Store limit is 51200 mb, whilst the data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/scheduler only has 34968 mb of usable space - resetting to 34968 mb. 11:46:50,834 INFO Connection ID:mrg-qe-vm-c2-303.lab.eng.brq.redhat.com-42254-1473068809190-0:1 connected to remote Broker: amqp://127.0.0.1:5672 11:46:53,154 WARN Memory Usage for the Broker (1024 mb) is more than the maximum available for the JVM: 490 mb - resetting to 70% of maximum available: 343 mb 11:46:53,156 WARN Store limit is 102400 mb (current store usage is 0 mb). The data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/KahaDB only has 34968 mb of usable space - resetting to maximum available disk space: 34968 mb 11:46:53,160 WARN Temporary Store limit is 51200 mb, whilst the temporary data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/tmp_storage only has 34968 mb of usable space - resetting to maximum available 34968 mb. 11:46:53,161 WARN Job Scheduler Store limit is 51200 mb, whilst the data directory: /root/project/jamq_jms_amqp_qe_units/target/com.redhat.mqe.jms.main.Scenario18/com.redhat.mqe.jms.main.Scenario18/scheduler only has 34968 mb of usable space - resetting to 34968 mb. 11:46:53,717 INFO ======== Finished com.redhat.mqe.jms.tests.Scenario18Test.persistDupsAckRestart ========