After a bit of digging, it looks like this exception is the one being raised rather than the desired authentication exception:

org.apache.qpid.AMQTimeoutException: Server did not respond in a timely fashion [error code 408: Request Timeout] at org.apache.qpid.client.util.BlockingWaiter.block(BlockingWaiter.java:176) at org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:127) at org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:694) at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:715) at org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:709) at org.apache.qpid.client.AMQSession_0_8.sendCreateQueue(AMQSession_0_8.java:148) at org.apache.qpid.client.AMQSession$3.execute(AMQSession.java:1084) at org.apache.qpid.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:274) at org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:733) at org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102) at org.apache.qpid.client.AMQSession.createQueue(AMQSession.java:1080) at org.apache.qpid.client.AMQSession.createQueue(AMQSession.java:1060) at org.apache.qpid.client.AMQSession.createTemporaryQueue(AMQSession.java:1239) at org.apache.qpid.server.security.acl.SimpleACLTest.testClientPublishInvalidQueueSuccess(SimpleACLTest.java:295)

It appears that BlockingWaiter.java is timing out rather than reporting the exception. I took a quick look at BlockingWaiter.java, but it appears to be doing some rather horrific things that I didn't really understand.

--Rafael

Rafael Schloming wrote:
Is anyone else seeing this? I've attached the log.

--Rafael

Testcase: testServerPublishInvalidQueueSuccess took 30.067 sec
    FAILED
Incorrect exception expected:<class javax.jms.IllegalStateException> but was:<class org.apache.qpid.AMQTimeoutException> junit.framework.AssertionFailedError: Incorrect exception expected:<class javax.jms.IllegalStateException> but was:<class org.apache.qpid.AMQTimeoutException> at org.apache.qpid.server.security.acl.SimpleACLTest.testServerPublishInvalidQueueSuccess(SimpleACLTest.java:624) at org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:204)
    at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:249)


------------------------------------------------------------------------


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to