qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ParkiratBagga <parkiratba...@gmail.com>
Subject Bug in Java API- "Queue will be made when creating the consumer"
Date Tue, 17 Apr 2012 10:41:40 GMT
Hi,

In the Java FAQ, it is mentioned that queues get created as we create the
consumer. 

I have observed the same behavior for in-memory queues and durable queue
less than 500mb with persistence enabled. 

But, When I tried to create 2 queue with 3 consumer connections per queue
with following stats, 
*Jounal Size approx. 3gb*
============================================
que --durable --file-size=2000 --file-count=24 --max-queue-size=1024144000
--max-queue-count=10000000 --limit-policy=flow-to-disk
--flow-stop-size=1023144000 --flow-resume-size=1022144000
--flow-stop-count=9500000 --flow-resume-count=9000000 --argument
qpid.flow_resume_count=9000000
============================================

I am getting this Null Pointer Exception from c++ Qpid Broker:
============================================
Exception in thread "Thread-13" java.lang.NullPointerException
	at
org.apache.qpid.client.AMQSession_0_10.isQueueExist(AMQSession_0_10.java:1119)
	at
org.apache.qpid.client.AMQSession_0_10.handleAddressBasedDestination(AMQSession_0_10.java:1213)
	at org.apache.qpid.client.AMQSession.registerConsumer(AMQSession.java:2841)
	at org.apache.qpid.client.AMQSession.access$500(AMQSession.java:120)
	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2034)
	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2000)
	at
org.apache.qpid.client.AMQConnectionDelegate_0_10.executeRetrySupport(AMQConnectionDelegate_0_10.java:314)
	at
org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:614)
	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:971)
	at
com.apigee.analytics.qpid.receiver.ReceiveMessageTask.createConsumer(ReceiveMessageTask.java:98)
	at
com.apigee.analytics.qpid.receiver.ReceiveMessageTask.setupConnection(ReceiveMessageTask.java:70)
	at
com.apigee.analytics.qpid.receiver.ReceiveMessageTask.<init>(ReceiveMessageTask.java:50)
	at
com.apigee.analytics.qpid.receiver.ConfigureThreadPools.run(ConfigureThreadPools.java:58)
	at java.lang.Thread.run(Thread.java:680)
============================================

Can anybody help in regard.

Regards,
Parkirat Singh Bagga.


--
View this message in context: http://qpid.2158936.n2.nabble.com/Bug-in-Java-API-Queue-will-be-made-when-creating-the-consumer-tp7473147p7473147.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