[jboss-user] [JBoss Messaging] - Test org.jboss.test.jbossmessaging.test.JBossJMSUnitTestCase

burdeasa do-not-reply at jboss.com
Tue Mar 24 10:04:54 EDT 2009


I work for Unisys corporation.  I'm attempting to certify JBoss EAP 4.3 CP04 running on our MCP system.  This apparently includes JBoss Messaging 1.4.0.SP3_CP07-brew.

When I run the JBoss testsuite, over 99% of the tests pass, but I have a few stubborn failures.

In particular, the test org.jboss.test.jbossmessaging.test.JBossJMSUnitTestCase passes about half of the time, but fails about the other half when I run it individually.  When the test fails, the testcase testRequestReplyQueue hangs and the test.log file shows:

2009-03-23 16:13:45,500 ERROR [org.jboss.test.jbossmessaging.test.JBossJMSUnitTestCase$1] Error
  | java.lang.UnsupportedOperationException: Destination not specified
  | 	at org.jboss.jms.client.container.ProducerAspect.handleSend(ProducerAspect.java:157)
  | 	at org.jboss.aop.advice.org.jboss.jms.client.container.ProducerAspect46.invoke(ProducerAspect46.java)
  | 	at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
  | 	at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
  | 	at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)
  | 	at org.jboss.jms.client.delegate.ClientProducerDelegate$send_3961598017717988886.invokeNext(ClientProducerDelegate$send_3961598017717988886.java)
  | 	at org.jboss.jms.client.delegate.ClientProducerDelegate.send(ClientProducerDelegate.java)
  | 	at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:164)
  | 	at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:207)
  | 	at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:145)
  | 	at org.jboss.jms.client.JBossMessageProducer.send(JBossMessageProducer.java:136)
  | 	at org.jboss.test.jbossmessaging.test.JBossJMSUnitTestCase$1.run(JBossJMSUnitTestCase.java:248)

This appears to be similar to the error reported in 
https://jira.jboss.org/jira/browse/JBMESSAGING-1259

However, that JIRA entry has no information about the problem cause or solution.

I have spent many hours over several days trying to determine how the destination could be null in some cases (causing the failure), and OK in other cases.  So far, I have been unable to determine the cause.

Is there anyone who might be able to give me a clue?

Thanks!


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220608#4220608

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220608



More information about the jboss-user mailing list