Re: Having problem listening for Activemq message from Ajax

2008-11-25 Thread Dejan Bosanac
Hi Pete, you have to add a poll handler in order to successfully subscribe to a destination. Also, if you are sending to topics, it is good idea to add a timeout, between subscribing and sending. Attached is an example that works (to some point at least). It seems to get every other message. I'll

Re: Why is kaha recovery very slow,can I speed up it?

2008-11-25 Thread Rob Davies
This is a known problem - its being addressed by a change to the default database architecture for the next major version cheers, Rob On 25 Nov 2008, at 03:14, Will Zhuang wrote: I am testing ActiveMQ 5.2,when i post 1M messages and user activemq- admin stop to shutdown the broker and

ActiveMQ-CPP 2.2.2 Released

2008-11-25 Thread Timothy Bish
Hi everyone, The ActiveMQ-CPP 2.2.2 release is now official! You can download the source distribution here: http://activemq.apache.org/cms/activemq-cpp-222-release.html This release offers several bug fixes found since the 2.2.1 release, see the download page for the complete list. Regards, Tim

Re: Negtive MessageCountAwaitingAcknowledge DispatchedQueueSize on JConsol

2008-11-25 Thread WhiteSock
I was able to reproduce this problem on ActiveMQ 5.1 1. Run SimpleBroker Please run MySql first.(I want to use JDBC Master/Slave cluster in production environment) 2. Run SimpleConsumer In SimpleConsumer.java, it actually starts two MessageConsumers: * the first MessageConsumer is

Re: Negtive MessageCountAwaitingAcknowledge DispatchedQueueSize on JConsol

2008-11-25 Thread WhiteSock
This problem still exists in ActiveMQ 5.2 -- View this message in context: http://www.nabble.com/Negtive-MessageCountAwaitingAcknowledge---DispatchedQueueSize-on-JConsole-tp20496111p20679908.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMq 3.2.1 is Not Working with Oracle Database

2008-11-25 Thread munugalaramesh
Hi Everyone, We are using ActiveMq 3.2.1. We are facing one strange problem when the messages in the Queue crosses certain limit(we are using Oracle for storing message) Queue is not working.Once we delete the messages which are there in the Queue(records from the table).Then its work

Re: How to catch the event when the FAILOVER connection goes down and swithes to another broker

2008-11-25 Thread WhiteSock
Hi, You can use the following codes: ActiveMQConnection con = (ActiveMQConnection)connection; con.addTransportListener(new TransportListener() { @Override public void onCommand(Object command) { } @Override public void onException(IOException error)

Re: How to catch the event when the FAILOVER connection goes down and swithes to another broker

2008-11-25 Thread Gary Tully
Check out: http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/transport/TransportListener.html You will get an interrupted and resumed event on failover. 2008/11/24 Andres Rangel [EMAIL PROTECTED]: Hi, We have a network of brokers ( 2 nodes) servicing the clients.

Re: XMPP: does it work for anybody?

2008-11-25 Thread Michael Franz
I gave up. I was hoping to use it for a monitor tool I was writing, but ended up using JMX. Since I couldn't get it to work, I am not even sure it would have worked for my needs. jeevanpd wrote: I also spent good couple of hours to sort this out but no luck yet.. Anybody succeeded?

all producer threads block in surprising way when producer flow-control enabled

2008-11-25 Thread Dean Thompson
We had a problem (with version 5.2.0, using topics and durable subscriptions) where all producers would lock up when we used producer flow control. What's strange is that the producers were not explicitly waiting in ActiveMQMessageProducer in the call to producerWindow.waitForSpace(). Instead,

Web console not working with embedded broker setup via java with no xml configuration.

2008-11-25 Thread darrickc
I have an embedded broker completely configured through java code (no deployable xml files). When I point my browser to the web console I just get a 404, and an lsof shows that nothing is listening on 8161. Is it possible to use the web console with a broker setup only with java code? I'm fine

Re: XMPP: does it work for anybody?

2008-11-25 Thread Jim Gomes
I use Pidgin connected to ActiveMQ. I then have our Hudson build server publish its build results over XMPP to ActiveMQ and I get the instant message sent to my Pidgin client. Pretty slick. I can't send screen shots right now since I am on my web-phone. However, ActiveMQ does work well as a

Re: How to create .NET dll of ActiveMQ with IKVM

2008-11-25 Thread Jim Gomes
You are welcome to add those missing features as enhancement requests in the AMQNET JIRA database so they get added to a future version of NMS. The NMS client is coming along nicely. If you have suggestions on how to make it work better, they would be appreciated. Best, Jim On 11/22/08, Postol

Activemq 5.0.0 working on Linux?

2008-11-25 Thread wallace
I just downloaded activemq5.0.0 and run it. (bin/activemq). The console showed the exception after 10 seconds. Is it a known issue? my jdk: jdk150_14 ]$ uname -a Linux vanredhat2.us.dnb.com 2.6.18-8.el5 #1 SMP Fri Jan 26 14:15:14 EST 2007 x86_64 x86_64 x86_64 GNU/Linux Problem not seen on