Re: Monitoring when there are no consumers for a destination

2011-08-12 Thread agujral
Sorry I was not very clear in my initial post. I want to know if consumer count is zero even if I dont know the queue name. The above mentioned checks will work only when I know the queuename which I dont know in this particular case. -- View this message in context: http://activemq.2283324.n4.

Monitoring when there are no consumers for a destination

2011-08-11 Thread agujral
Hi All, How can I add monitoring in activemq when there is no consumer for a particular destination. Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Monitoring-when-there-are-no-consumers-for-a-destination-tp3737287p3737287.html Sent from the ActiveM

Activemq-5.5.0 broker hangs intermittently

2011-08-04 Thread agujral
Hi All, I am using activemq-5.5.0 of late I am finding that broker get hanged and I need to restart the broker every 24 hrs.After restart everything works fine. Please advise what could be the issue Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Act

urgent: Activemq Consumer not able to get messages from broker

2011-07-27 Thread agujral
Hi All, We have been using activemq-5.5.0 for the last one month without issues,but since yesterday the consumer is not able to read any messages from the broker. I tried restarting both broker and consumer without any success. Please suggest Thanks Anurag -- View this message in con

Re: urgent: Transport failed messages in activemq

2011-07-18 Thread agujral
These messages goes away when I restart the server. Is is that client is disconnecting since server cannot service the client. Please suggest what I should do so that I dont see these errors. thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/urgent-Transport-fa

Which version to upgrade activemq to 5.4.2 or 5.5.0?

2011-06-22 Thread agujral
We are currently using activemq version 5.4.0 it is giving us lot of pains in production on restart since kahadb does not close properly when activemq is stopped. I am inclining towards upgrading to 5.4.2 first ,can people plz share their experiences with me regarding using 5.4.2 or 5.5.0.? Than

urgent: Transport failed messages in activemq

2011-06-21 Thread agujral
I am getting transport failed messages in activemq broker.Can someone please help. 2011-06-21 15:48:29,679 | INFO | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///172.20.210.18:48482 java.io.EOFException at ja

Re: statistical plugin

2011-06-21 Thread agujral
Also I want to add to my first message, sometimes I am not getting any response from the broker when I send message to the queue "ActiveMQ.Statistics.Broker" my program just hangs. I am attaching the program below : public static void main(String[] args) throws Exception { //not using sdtcommon

statistical plugin

2011-06-20 Thread agujral
I am using statistical plugin to get statistics about activemq broker about sometime the data from the broker takes a long time 10-20 minutes and sometimes available in seconds. I am sending an empty message to ActiveMQ.Statistics.Destination is it possible that broker is so busy it cannot return

Re: Trying to access activemq statistics not working

2011-06-17 Thread agujral
Actually I am able to get data from the activemq there was a bug in my code Thanks all Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3606495.html Sent from the ActiveMQ - User mailing list archive at Nabb

Re: Statistics plugin - measurement units

2011-06-17 Thread agujral
Actually I am able to get data from the activemq there was a bug in my code Thanks all Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Statistics-plugin-measurement-units-tp3596490p3606494.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Statistics plugin - measurement units

2011-06-16 Thread agujral
I am not sure I should write this, can you please share code I am trying to write jmx client to get statistics but it is not working for me thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Statistics-plugin-measurement-units-tp3596490p3604564.html Sent from the

Re: Trying to access activemq statistics not working

2011-06-16 Thread agujral
Can you please guide me what the correct way is then so that I dont get this error. Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Trying-to-access-activemq-statistics-not-working-tp3504459p3604544.html Sent from the ActiveMQ - User mailing list archive at N

Activemq consumer

2011-06-14 Thread agujral
Hi All, I have a setup where activemq consumer reads the data files and sends the data to the remote servers . Sometimes it happens that remote server is down, is there a way my consumer can enqueue message at the end of the queue if the remote server is not available. Thanks Anurag --

Usage Manager Store is Full

2011-06-13 Thread agujral
Hi All, I am getting the following error " Usage Manager Store is Full" from the broker,but when I restart the broker the error goes away. Can someone please guide me why I got this error , I have a lot of space on disk. I tried looking on google but could not find much. Thanks Anur

Monitoring of expired messages in activemq

2011-06-07 Thread agujral
Hi All, I am setting expiry of messages in activemq in my deployment. How can I monitor how many messages are getting expired . Please Suggest. Thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Monitoring-of-expired-messages-in-activemq-tp3581361p358

Re: How to set message expiry in activemq

2011-06-07 Thread agujral
thanks everyone for your replies -- View this message in context: http://activemq.2283324.n4.nabble.com/How-to-set-message-expiry-in-activemq-tp3580498p3581356.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

How to set message expiry in activemq

2011-06-07 Thread agujral
Hi All, We are using active mq as a queueing layer in our system,from which consumers read messages. The consumers processes message by sending a message to the remote severs ,sometimes the remote servers are down causing a big backlog of messages .Is there a way in activemq so that we ca

Exception Channel was inactive for too long

2011-06-06 Thread agujral
Hi All, I using activmemq-5.4 I am seeing the following error messages: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too long: /172.20.210.18:41140 at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:236) at or

Trying to access activemq statistics not working

2011-05-06 Thread agujral
Hi All, I have enabled statistics plugin in activeMq and then I am running a java code pasted below but I dont seem to be getting any statistics data please help: When I run the below code it hangs waiting for the response: May 6, 2011 5:11:33 PM org.apache.activemq.broker.BrokerService

Load balancing with activemq

2011-05-03 Thread agujral
I have following setup. There are two brokers A and B and one producer P. I want to know how I can if at all possible if I can make my producer P do round robin writes to brokers A and B .Say I do 100 writes 50 go to broker A and 50 to broker B I am open to using network of brokers . Please Sugg

Re: Failover configuration not working

2011-05-03 Thread agujral
Hi There, Thanks for your reply.I want to accomplish the following I have two brokers I want my producer to write use both the brokers equally.For example say there are two brokers A and B a)Say my producer has data to write to and it writes to broker A. b)Now again the producer has d

Re: Failover configuration not working

2011-05-03 Thread agujral
As per the documentation http://activemq.apache.org/failover-transport-reference.html randomize is true by default Then why do I need to specify it -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-configuration-not-working-tp3493557p3493634.html Sent from the Activ

Failover configuration not working

2011-05-03 Thread agujral
Hi All, I am using the following configuration in my activemq setup failover:(tcp\://host1.com\:61616,tcp\://host2.com\:61616) for producers.Brokers are running on host1.com and host2.com . The problem is that producers always write to one broker and the other broker is not used. As per h

Re: Sample failover transport configuration of activemq

2011-05-02 Thread agujral
Hi , Thanks for the reply. I understand that the values of the parameters mentioned in http://activemq.apache.org/failover-transport-reference.html varies from application to application but can someone send me a sample configuration file which covers all the scenarios I mentioned in my first

Sample failover transport configuration of activemq

2011-05-02 Thread agujral
Hi All, I am planning to use failover transport in activemq such that following scenarios are covered: a)When I specify multiple brokers activemq should be able to randomly select one of the brokers so that I can redistribute the load. b)Suppose I specify two brokers using failover transpo