Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Bruce Snyder
On Tue, Sep 9, 2008 at 12:52 PM, Joe Fernandez <[EMAIL PROTECTED]> wrote: > > > mjoshi wrote: >> >> Thanks Joe. >> >> However, I have just one activemq.xml config file that gets published to >> both hosts. Is there a way to do it in the same configuration ? >> >> Yes, try using the multicast transp

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Joe Fernandez
mjoshi wrote: > > Thanks Joe. > > However, I have just one activemq.xml config file that gets published to > both hosts. Is there a way to do it in the same configuration ? > > Yes, try using the multicast transport. That is what the default > activemq.xml is typically set up to use. > > I

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread mjoshi
Thanks Joe. However, I have just one activemq.xml config file that gets published to both hosts. Is there a way to do it in the same configuration ? I also tried the suggestions below. I removed the vm transport and added only one network connector. So it now looks like this- http://activemq.a

Re: Network of brokers - java.net.ConnectException: Connection refused

2008-09-09 Thread Joe Fernandez
The 'vm' transport is reserved for clients, so take it out. http://activemq.apache.org/vm-transport-reference.html You also have a network connector that points the broker to itself, so also take those out. Try the following cfg files below. http://activemq.apache.org/schema/core"; useJmx=

Network of brokers - java.net.ConnectException: Connection refused

2008-09-08 Thread mjoshi
Hi, I am new to activemq. I am trying to setup a message system with a network of brokers style configuration as given in the documentation. I have brokers running on 2 hosts and I have added network connectors in both directions. However, I keep getting this exception in the logs for only one of