qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger <roger.lefeb...@pason.com>
Subject Re: Hard-coded destination parameters prevent creation of Producer and Consumer
Date Thu, 23 Aug 2012 00:21:59 GMT

> The only usual reason for it to wait there is that it didn't get the reply
> frame it was waiting for, posibly because something on the other end went
> bang. Did you get any further digging into it?


Unfortunately, rabbits aren't very noisy creatures. Outside of the
established and closed connection, the logs are clear. Consuming from the
amq.rabbitmq.log offered no more.
The output from client is below. Someone might catch a misconfiguration or
something.

Roger


[INFO ]-[main] : No Provider URL specified.
[DEBUG]-[main] : Parsing URL:
direct://myExchange//myQueue?autodelete='false'&durable='true'&internal='false'&routingkey='testRoute'
[DEBUG]-[main] : URL Parsed:
direct://myExchange//myQueue?autodelete='false'&routingkey='testRoute'&durable='true'&internal='false'
[DEBUG]-[main] : Based on
direct://myExchange//myQueue?autodelete='false'&routingkey='testRoute'&durable='true'&internal='false'
the selected destination syntax is BURL
[DEBUG]-[main] : AMQP version 0-91
[INFO ]-[main] :
Connection:amqp://guest:********@localhost/?brokerlist='tcp://localhost:5672'
[INFO ]-[main] : Using ProtocolVersion for Session:0-91
[INFO ]-[main] : New Method Dispatcher:AMQProtocolSession[null]
[DEBUG]-[main] : Creating content header body factory
[DEBUG]-[main] : Creating content body factory
[INFO ]-[main] : Connecting with ProtocolHandler Version:0-91
[INFO ]-[main] : New StateWaiter :AMQState: id = 1 name:
CONNECTION_NOT_STARTED:[AMQState: id = 4 name: CONNECTION_OPEN, AMQState: id
=
6 name: CONNECTION_CLOSED]
[DEBUG]-[main] : SO_RCVBUF : 65535
[DEBUG]-[main] : SO_SNDBUF : 65535
[DEBUG]-[main] : TCP_NODELAY : true
[DEBUG]-[main] : Sent 1 protocol messages
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : (650188911)Method frame
received: [ConnectionStartBodyImpl: versionMajor=0, versionMinor=9,
serverProperties={capabilities=[FIELD_TABLE: {publisher_confirms=[BOOLEAN:
true], exchange_exchange_bindings=[BOOLEAN: true], basic.nack=[BOOLEAN:
true],
consumer_cancel_notify=[BOOLEAN: true]}], copyright=[LONG_STRING: Copyright
(C) 2007-2012 VMware, Inc.], information=[LONG_STRING: Licensed under the
MPL.
See http://www.rabbitmq.com/], platform=[LONG_STRING: Erlang/OTP],
product=[LONG_STRING: RabbitMQ], version=[LONG_STRING: 2.8.5]},
mechanisms=[80, 76, 65, 73, 78, 32, 65, 77, 81, 80, 76, 65, 73, 78],
locales=[101, 110, 95, 85, 83]]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : public void
methodReceived(AMQStateManager stateManager, AMQProtocolSession
protocolSession, AMQMethodEvent evt): called
[INFO ]-[IoReceiver - localhost/127.0.0.1:5672] : Setting ProtocolVersion to
:0-91
[INFO ]-[IoReceiver - localhost/127.0.0.1:5672] : New Method
Dispatcher:AMQProtocolSession[AMQConnection:
Host: localhost
Port: 5672
Virtual Host: 
Client ID: localhost
Active session count: 0]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : public static void
registerSaslProviders(): called
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : props =
{ANONYMOUS=org.apache.qpid.client.security.anonymous.AnonymousSaslClientFactory,
CRAM-MD5-HASHED=org.apache.qpid.client.security.crammd5hashed.CRAMMD5HashedSaslClientFactory,
AMQPLAIN=org.apache.qpid.client.security.amqplain.AmqPlainSaslClientFactory}
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registering class
org.apache.qpid.client.security.anonymous.AnonymousSaslClientFactory for
mechanism ANONYMOUS
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registering class
org.apache.qpid.client.security.crammd5hashed.CRAMMD5HashedSaslClientFactory
for mechanism CRAM-MD5-HASHED
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registering class
org.apache.qpid.client.security.amqplain.AmqPlainSaslClientFactory for
mechanism AMQPLAIN
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registered SASL Client
factory for AMQPLAIN as
org.apache.qpid.client.security.amqplain.AmqPlainSaslClientFactory
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registered SASL Client
factory for ANONYMOUS as
org.apache.qpid.client.security.anonymous.AnonymousSaslClientFactory
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Registered SASL Client
factory for CRAM-MD5-HASHED as
org.apache.qpid.client.security.crammd5hashed.CRAMMD5HashedSaslClientFactory
[INFO ]-[IoReceiver - localhost/127.0.0.1:5672] : Additional SASL providers
successfully registered.
[INFO ]-[IoReceiver - localhost/127.0.0.1:5672] : Callback handlers
available
for SASL mechanisms: [EXTERNAL, GSSAPI, CRAM-MD5-HASHED, CRAM-MD5, AMQPLAIN,
PLAIN, ANONYMOUS]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : mechanism = AMQPLAIN
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : State changing to
AMQState:
id = 2 name: CONNECTION_NOT_TUNED from old state AMQState: id = 1 name:
CONNECTION_NOT_STARTED
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Notififying State change
to
1 : [org.apache.qpid.client.state.StateWaiter@44323274]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Dumping QpidProperties
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Property: qpid.version
Value: 0.16
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Property: qpid.svnversion
Value: exported
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Property: qpid.name Value:
qpid
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : End of property dump
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : FieldTable::writeToBuffer:
Writing encoded length of 244...
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : {instance=[LONG_STRING:
localhost], product=[LONG_STRING: qpid], version=[LONG_STRING: 0.16],
platform=[LONG_STRING: Java(TM) SE Runtime Environment, 1.6.0_27-b07, Sun
Microsystems Inc., amd64, Linux, 2.6.18-92.1.22.el5, unknown],
qpid.client_process=[LONG_STRING: Qpid Java Client], qpid.client_pid=[INT:
19674]}
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : (650188911)Method frame
received: [ConnectionTuneBodyImpl: channelMax=0, frameMax=131072,
heartbeat=0]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : ConnectionTune frame
received
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : State changing to
AMQState:
id = 3 name: CONNECTION_NOT_OPENED from old state AMQState: id = 2 name:
CONNECTION_NOT_TUNED
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Notififying State change
to
1 : [org.apache.qpid.client.state.StateWaiter@44323274]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : (650188911)Method frame
received: [ConnectionOpenOkBodyImpl: knownHosts=null]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : State changing to
AMQState:
id = 4 name: CONNECTION_OPEN from old state AMQState: id = 3 name:
CONNECTION_NOT_OPENED
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : Notififying State change
to
1 : [org.apache.qpid.client.state.StateWaiter@44323274]
[DEBUG]-[main] : Are we connected:true
[INFO ]-[main] : Connected with ProtocolHandler Version:0-91
[DEBUG]-[main] : Write channel open frame for channel id 1
[INFO ]-[main] : Created
session:org.apache.qpid.client.AMQSession_0_8@6dbe4663
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : (650188911)Method frame
received: [ChannelOpenOkBodyImpl: channelId=null]
[DEBUG]-[IoReceiver - localhost/127.0.0.1:5672] : (650188911)Method frame
received: [BasicQosOkBodyImpl: ]
[INFO ]-[main] : MessageProducer
org.apache.qpid.client.BasicMessageProducer_0_8@74d402dd using publish mode
:
ASYNC_PUBLISH_ALL
javax.jms.JMSException: Error registering consumer:
org.apache.qpid.AMQTimeoutException: Server did not respond in a timely
fashion [error code 408: Request Timeout]
	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2048)
	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2000)
	at
org.apache.qpid.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:324)
	at
org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:577)
	at
org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
	at
org.apache.qpid.client.AMQSession.createConsumerImpl(AMQSession.java:1998)
	at
org.apache.qpid.client.AMQSession.createConsumer(AMQSession.java:972)
	at
com.xyz.transport.example.Hello.runRabbitProduceConsume(Hello.java:110)
	at com.xyz.transport.example.Hello.main(Hello.java:52)
Caused by: 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:178)
	at
org.apache.qpid.client.protocol.BlockingMethodFrameListener.blockForFrame(BlockingMethodFrameListener.java:122)
	at
org.apache.qpid.client.protocol.AMQProtocolHandler.writeCommandFrameAndWaitForReply(AMQProtocolHandler.java:655)
	at
org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:676)
	at
org.apache.qpid.client.protocol.AMQProtocolHandler.syncWrite(AMQProtocolHandler.java:670)
	at
org.apache.qpid.client.AMQSession_0_8.sendExchangeDeclare(AMQSession_0_8.java:406)
	at org.apache.qpid.client.AMQSession$9.execute(AMQSession.java:2711)
	at
org.apache.qpid.client.failover.FailoverNoopSupport.execute(FailoverNoopSupport.java:67)
	at
org.apache.qpid.client.AMQSession.declareExchange(AMQSession.java:2707)
	at
org.apache.qpid.client.AMQSession.registerConsumer(AMQSession.java:2922)
	at org.apache.qpid.client.AMQSession.access$500(AMQSession.java:97)
	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2025)
	... 8 more






--
View this message in context: http://qpid.2158936.n2.nabble.com/Hard-coded-destination-parameters-prevent-creation-of-Producer-and-Consumer-tp7581160p7581220.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org
For additional commands, e-mail: users-help@qpid.apache.org


Mime
View raw message