Re: Can I run Performance Module from desktop to measure brokers on remote host?

2010-08-18 Thread jzhang
com/snyder/ > Blog - http://www.nighttale.net > > > > On Fri, Aug 13, 2010 at 10:57 PM, jzhang wrote: >> >> I am trying to run perf test >> (http://activemq.apache.org/activemq-performance-module-users-manual.html) >> to benchmark brokers. I ran: >> &

Can I run Performance Module from desktop to measure brokers on remote host?

2010-08-13 Thread jzhang
I am trying to run perf test (http://activemq.apache.org/activemq-performance-module-users-manual.html) to benchmark brokers. I ran: mvn activemq-perf:broker -Durl=broker:tcp://lab_host.mycompany.com:61617 It throws error: Loading message broker from: broker:tcp://lab_host.mycompany.com:61617 E

How do I run maven command to run performance module?

2010-08-12 Thread jzhang
I am trying to run performance module from my desktop to measure broker performance (brokers are on Linux VMs). I followed steps from http://activemq.apache.org/activemq-performance-module-users-manual.html to build amq from source and ran 'mvn clean install' from 'activemq-tooling'. But the follo

Re: Network of brokers dynamic discovery and directional question

2010-08-10 Thread jzhang
ward their > messages to the target. > > On 6 August 2010 22:58, jzhang wrote: >> >> When configuring network of brokers using dynamic discovery such as >> multicast, does that mean the directional is 'duplex' by nature or still >> one-way?

Re: Can I can run two brokers as network using multicast on the same host?

2010-08-10 Thread jzhang
oup=mygroup&useLocalHost=false > > On 9 August 2010 19:17, jzhang wrote: >> >> Thanks for the reply. I have added this property to the xml: >> >> transportConnectors> >>           > uri="tcp://myhost.mycompany.com:61617" >> discoveryUri

Re: Can I can run two brokers as network using multicast on the same host?

2010-08-09 Thread jzhang
=mygroup?useLocalHost=false" looks > odd, > the query string needs to use & to separate arguments, > it should be: > "multicast://default?group=mygroup&useLocalHost=false > > On 9 August 2010 19:17, jzhang wrote: >> >> Thanks for the reply. I have adde

Re: Can I can run two brokers as network using multicast on the same host?

2010-08-09 Thread jzhang
ments at the end about useLocalHost=false > > On 5 August 2010 22:23, jzhang wrote: >> >> I am trying to set up a simple network of brokers within the same host >> (Linux >> VM) using multicast. It seems that I can only use 'localhost' as host >> name >&

Network of brokers dynamic discovery and directional question

2010-08-06 Thread jzhang
When configuring network of brokers using dynamic discovery such as multicast, does that mean the directional is 'duplex' by nature or still one-way? The thing is that the networkConnector will only have multicast address and not other brokers: Am I mssing anything here? -J --

Re: Can I can run two brokers as network using multicast on the same host?

2010-08-06 Thread jzhang
I figured this out. This is not the problem of running two brokers on the same host. It is a bug amq-2094 that the IP does not get taken correctly. I replaced host name with wild card address "0.0.0.0" and the warning disappears. -J -- View this message in context: http://old.nabble.com/Can-I-

Can I can run two brokers as network using multicast on the same host?

2010-08-05 Thread jzhang
I am trying to set up a simple network of brokers within the same host (Linux VM) using multicast. It seems that I can only use 'localhost' as host name in tcp uri. If I use IP address or DNS name, the log shows 'connection refused' warning message. Here are some details: My configurations: - fo

Problem when trying Pure Master/Slave without authentication

2010-07-27 Thread jzhang
I am trying Pure Master/Slave without authentication for learning purpose. It appears that the slave can not connect to master. I have master 'bkr1' and slave 'bkr2'. The activemq.xml of 'bkr2' (the slave) looks like: The port 61613 is the one for master. I started m

Master/Slave and non-persistence message

2010-07-23 Thread jzhang
Can Master/Slave be used for non-persistence message? It has persistent data storage needs to be configured so I am just wondering the data gets replicated is just the broker states and not for message persistence. -- View this message in context: http://old.nabble.com/Master-Slave-and-non-persi

Can multiple brokers be running in one JMX context?

2010-07-21 Thread jzhang
I am setting multiple standalone brokers on a host. They will be running from different JVM and also configured with JMX. I don't believe they can share the same JMX context since the port number should be unique for each one. My question is about the 'activemq-admin list' command. It says 'list t

'activemq-admin list' command does not return all running brokers

2010-07-19 Thread jzhang
I installed two brokers on the server. They are all up running and with JMX configured. But when I ran 'activemq-admin list' command, it seems to attache the broker that was started at the latest. So only one broker is returned from the command. When I shutdown that one then the first one returned