Re: [Spam: 5.0] Creating a network of brokers with ActiveMQ 4.1.0

2007-02-26 Thread Fct
Hi (again), Since my problem was posted last week I didn't manage to get the zeroconf discovery agent working. Is it suppose to work "out of the box" or do I have to include a specific jar file in my classpath? Any explanation or example will greatly appreciated. Regards, Francois Fct wrote

One connection for multiple sessions or one connection for each session

2007-02-26 Thread LiXiao2007
I would like to write a program with multiple threads. Each thread will subscribe same mesage queue. There are two ways to do that. 1. Each thread has its own connection and session to the queue. 2. All the threads share same connection and each thread has its own session. I don't know which way

Difference between Virtual Topic and Composite Queue

2007-02-26 Thread LiXiao2007
I would like to send messages to a central point where JMS will automatically forward them to a set of queues for different systems. It seems to me that both Virutal topic and composite queue can accomplish this. Between virtual topic and composite queue, which one will do the better job. What is

Re: [Spam: 5.0] Network/Cluster of Brokers - Please help

2007-02-26 Thread naga007
which version of activemq are using, iam using 4.1 and i could failover also send me ur config. naga007 wrote: > > > use failover:(tcp://host1:61616,tcp://host2:61616) uri format for the > client.s > > > Gaurav Hariani wrote: >> >> I'm trying to setup a cluster of Brokers (standalone) which

Re: [Spam: 5.0] Network/Cluster of Brokers - Please help

2007-02-26 Thread Gaurav Hariani
I still get the same exception on the clients. naga007 wrote: > > > use failover:(tcp://host1:61616,tcp://host2:61616) uri format for the > client.s > > > Gaurav Hariani wrote: >> >> I'm trying to setup a cluster of Brokers (standalone) which clients can >> connect to (ideally I would lik

FAILOVER with C# NMS Client

2007-02-26 Thread sparky2708
How do I achieve failover for C# NMS Clients? -- View this message in context: http://www.nabble.com/FAILOVER-with-C--NMS-Client-tf3295828s2354.html#a9168460 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [Spam: 5.0] cant see named connection in jconsole

2007-02-26 Thread Iakov
James.Strachan wrote: > > On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: >> >> hi, >> >> i am running a client which concurrently uses two connections both are >> named >> (thru createConnection method) both are working, but i only see one of >> them >> as named in JConsole. how come? > > Are you

Re: cant see named connection in jconsole

2007-02-26 Thread James Strachan
On 2/26/07, Iakov <[EMAIL PROTECTED]> wrote: hi, i am running a client which concurrently uses two connections both are named (thru createConnection method) both are working, but i only see one of them as named in JConsole. how come? Are you sure you are refreshing the tree in JConsole? Does

Consumer blocking when session created on same connection as blocked producer

2007-02-26 Thread TonyLeigh
Hello All, I've been struggling with a problem of ActiveMQ locking up with a combination of fast producers and slow consumers. After trawling through the threads I think I understand what is happening and why the lockup occurs, but I can only solve the lockup with two connections when it seems t

cant see named connection in jconsole

2007-02-26 Thread Iakov
hi, i am running a client which concurrently uses two connections both are named (thru createConnection method) both are working, but i only see one of them as named in JConsole. how come? Thank you -- View this message in context: http://www.nabble.com/cant-see-named-connection-in-jconsole-t

Re: [Spam: 5.0] Memory usage increase after client power failure

2007-02-26 Thread eccrowe
Thanks for the link with regards to keepAlive and the configuration of soTimeout. Will experiment with these settings in 4.1 for now. Am a bit hesitant to deploy 4.2 on our system as it is not considered a stable release as of yet. Though, I will checkout your 4.2 and validate that this issue n

Negative queue size with trunk

2007-02-26 Thread drvillo
Hi all using rev. 510896 sometimes when recovering I get negative values... this isn't happening on the latest 4.1 revision. cheers Francesco -- View this message in context: http://www.nabble.com/Negative-queue-size-with-trunk-tf3293548s2354.html#a9161076 Sent from the ActiveMQ - User mailing

Re: [Spam: 5.0] Network/Cluster of Brokers - Please help

2007-02-26 Thread naga007
use failover:(tcp://host1:61616,tcp://host2:61616) uri format for the client.s Gaurav Hariani wrote: > > I'm trying to setup a cluster of Brokers (standalone) which clients can > connect to (ideally I would like them to be discovered) > listening to a TOPIC. In the case of a broker failing, th

Network/Cluster of Brokers - Please help

2007-02-26 Thread Gaurav Hariani
I'm trying to setup a cluster of Brokers (standalone) which clients can connect to (ideally I would like them to be discovered) listening to a TOPIC. In the case of a broker failing, the clients connected to that broker should reconnect to another broker. I'm able to get clients to connect to a r

Re: [Spam: 5.0] java client program for Web Demo

2007-02-26 Thread James Strachan
That sounds fine. The web console and web demos's usually have a broker embedded inside them that you can talk to via TCP so there's no absolute reason to disable vm:// transport in the web demo/console and explicitly use TCP. On 2/26/07, pandi79 <[EMAIL PROTECTED]> wrote: Finally my Jms progra

Re: [Spam: 5.0] java client program for Web Demo

2007-02-26 Thread pandi79
Finally my Jms program is able to receve messages from the queue.. I'ave updated the web.xml lThe paragraph ine in web.xml vm://localhost is replaced by tcp://localhost:61616 1. started web demo example by the coomand mvn jetty6:run 2. started the activemq broker by the command 'activemq'

Re: Running ruby example multiple times

2007-02-26 Thread James Strachan
On 2/24/07, Chris T. <[EMAIL PROTECTED]> wrote: Hi all To successfully run the ruby examples (apache-activemq-4.1.0-incubator/example/ruby/*) multiple times, you have - at least - to append the following line to publisher.rb @conn.disconnect Thanks for that! I've patched the examples FW

Re: [Spam: 5.0] java client program for Web Demo

2007-02-26 Thread pandi79
Thanks for your response. Once I sent the message through html page (webdemo example), I tried the link http://localhost:8080/activemq-web-demo/queueBrowse/myqueue?view=xml to browse all the messages. I am able to see (it is browse option) all the messaages which I posted. Then I ran my jms pro

Re: java client program for Web Demo

2007-02-26 Thread James Strachan
On 2/26/07, pandi79 <[EMAIL PROTECTED]> wrote: Using ActiveMQ 4.0.2 Web demo sample. Able to send & browse the message via internet explorer as per the instruction provided by Apache. But my requirement to receive the message by using JMS stand alone program.. The following steps I have done.

Re: Confused about JMSPriority

2007-02-26 Thread James Strachan
BTW more background in this thread http://www.nabble.com/JMSPriority-...-tf1754744s2354.html#a4771222 On 2/26/07, James Strachan <[EMAIL PROTECTED]> wrote: Using selectors is usually a better way of shaping traffic than JMSPriority. On 2/25/07, Stefan Arentz <[EMAIL PROTECTED]> wrote: > I'm co

Re: [Spam: 5.0] class not found org.apache.activemq.web.MessageServlet

2007-02-26 Thread James Strachan
The activemq.xml is used to configure ActiveMQ - you use the web.xml to configure On 2/24/07, pandi79 <[EMAIL PROTECTED]> wrote: Thanks for the reply. I am using ActiveMQ 4.1.0 . I set the jar file activemq-web-4.1.0-incubator.jar in the class path and tried to start the broker. I guess the br

Re: Confused about JMSPriority

2007-02-26 Thread James Strachan
Using selectors is usually a better way of shaping traffic than JMSPriority. On 2/25/07, Stefan Arentz <[EMAIL PROTECTED]> wrote: I'm confused about JMSPriority. My use case is simple: I have a bunch of fast servers that need to process slow (1 - 5 second) jobs. I also have many slow servers fo