Not able to disconnect http(REST) clients

2015-07-07 Thread khandelwalanuj
Hi, I am using ActiveMQ-5.11. I am running embedded Jetty server and using "MessageServlet" as mentioned http://activemq.apache.org/rest.html to send and consume. Once I create a consumer or producer to messages, I am not able to disconnect it later. I can see in Jconsole that these producer/con

Re: Selectors and cursor for Topics

2015-07-07 Thread khandelwalanuj
Actually out of four, two are having the same selectors(one java and one stomp perl consumer) and when we faced this issue, one(java) was getting the messages properly while other(perl) was not. After restarting the perl consumer, it was able to receive messages properly. (Using Amq-5.11.1) Also p

Re: Using Broker clusters, javax.management.InstanceAlreadyExistsException:xx

2015-07-07 Thread Tim Bain
I'm guessing here because I don't really know the relevant code, but maybe when you don't set useJmx="true", it's creating two different JMX contexts for your broker? I can't explain why that would be, but maybe someone else here can. However, another user appeared to have the same problem two ye

Re: Transport failed, please helpT_T

2015-07-07 Thread Tim Bain
Assuming that intranet == "stable network without any firewalls, misconfigurations, or hiccups" sounds like a huge mistake to me, and even more so when you've posted a question indicating that your logs are full of messages indicating that you have connection problems. That's not to say that there

Re: Transport failed, please helpT_T

2015-07-07 Thread Cadmean
1. Since all the clients are in the INTRANET, I don't think the network could be a problem, but I will check it anyway. 2. Right now, I haven't started producing messages. In this case, all the clients are just consumers without receving any messages. So I think the message redeliveries can not b

Re: Selectors and cursor for Topics

2015-07-07 Thread artnaseef
Every topic subscription should be getting the message, as long as the message matches the selector. Did you confirm the selector on the subscription using JConsole, VisualVM, or perhaps the web console? Also, does the subscription that appears to be missing messages receive any messages at all?

Re: Transport failed, please helpT_T

2015-07-07 Thread artnaseef
First thing I would look at here is diagnostics from the network level itself. WireShark or tcpdump can be used to get a better understanding of why the connections are dropping. If the network between the client and brokers is unreliable, this will happen a lot and it will significantly interfer