Re: Async error occurred Can not remove a consumer from a session not regd

2011-03-22 Thread hodgesz
Hi Nag, I have a very similar problem as the guy above and was wondering if you think those links can also apply to my problem. I have read Bruce's blogs but wasn't completely clear what to do. Do I have to setup a network of brokers and shared database in order to take advantage of those settin

Re: virtual topic with queue consumer on a broker cluster

2011-03-22 Thread Joe Smith
Hi, Made some progress tracking down the issue. Am able to reproduce the problem. Whenever there is both a queue consumers and a topic consume subscribing to the same virtual topic, there is message distribution error for the queue consumers. I had trials of sending 2k messages to the virtua

Failure to proccess a queue and run a lot of threads to consumer

2011-03-22 Thread gnudark
I´ve some questions about controll failover on ActiveMq. What are the procedures to follow if a failure occurs in the middle of proccess? There´re a link to follow about this... something like that. Another question is about customize threads to process a queue. There´re a possibility to execute

Re: activemq with simpleAuthenticationPlugin not starting

2011-03-22 Thread Tommy Chheng
I was able to solve it by: using ACTIVEMQ_HOME/bin/activemq console xbean:file:activemq-conf/activemq.xml This will show a verbose log when starting activemq. Then I saw this error: One of '{"http: //activemq.apache.org/schema/core":taskRunnerFactory, "http://activemq.apache.org/schema/core":te

Re: network of broker stop forwarding messages without advisorySupport enabled

2011-03-22 Thread anuhbava
Gary, Many thanks for taking time to respond in detail on this issue. However when I attempted taking your approach # 1 (creating a named queue with name="ID:foo") I am getting this exception from createConsumer() method: [java] javax.jms.InvalidDestinationException: Cannot use a Temporary

Re: IConnection.start() - optional?

2011-03-22 Thread olsonpm
Yeah - I noticed the NMS documentation is extremely thin, with a few tutorials here and there around google. I will use JMS as a reference from now on. -- View this message in context: http://activemq.2283324.n4.nabble.com/IConnection-start-optional-tp3397472p3397662.html Sent from the ActiveMQ

activemq with simpleAuthenticationPlugin not starting

2011-03-22 Thread Tommy Chheng
I'm trying to add simpleAuthenticationPlugin via activemq.xml but the activemq process is failing to start. This is the activemq.xml file i'm using: https://gist.github.com/881965 If i comment out the .., activemq starts up correctly. I'm using the activemq binary to startup: ACTIVEMQ_HOME/bin/a

Re: IConnection.start() - optional?

2011-03-22 Thread Timothy Bish
On Tue, 2011-03-22 at 13:00 -0700, olsonpm wrote: > I'm very new to AMQ - would you mind going into a little more detail? I'm > not understanding the cases in which you would/wouldn't start a connection. > > thank you for your help, > Phil > >From the JMS API Documentation for Connection (NMS i

Re: IConnection.start() - optional?

2011-03-22 Thread olsonpm
I'm very new to AMQ - would you mind going into a little more detail? I'm not understanding the cases in which you would/wouldn't start a connection. thank you for your help, Phil -- View this message in context: http://activemq.2283324.n4.nabble.com/IConnection-start-optional-tp3397472p3397577

Re: IConnection.start() - optional?

2011-03-22 Thread Timothy Bish
On Tue, 2011-03-22 at 12:21 -0700, olsonpm wrote: > I was trying to implement a persistent producer using NMS and ActiveMQ. I > realized the function isStarted wasn't returning true, even though my > messages were successfully being sent. I chalked this up to not calling > connection.start(). Ho

IConnection.start() - optional?

2011-03-22 Thread olsonpm
I was trying to implement a persistent producer using NMS and ActiveMQ. I realized the function isStarted wasn't returning true, even though my messages were successfully being sent. I chalked this up to not calling connection.start(). However, if the connection isn't running, how are the messag

virtual topic with queue consumer on a broker cluster

2011-03-22 Thread Joe Smith
Hi, I'm encountering a problem in using VirtualTopics in a cluster of 3 brokers. Hope ActiveMQ experts can help. I attached the configuration at the end. I used most of the networkconnector and transportconnector option, hoping I got it right - please help. Thank you. OS redhad linux java

Re: ActiveMQ 5.4.2 RA problem on Glassfish 3.1

2011-03-22 Thread guerra
Never mind ! I forgot to add a thread pool to the ra configuration. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-4-2-RA-problem-on-Glassfish-3-1-tp3384173p3397161.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Testing with JMeter ActiveMQ 5.x ?

2011-03-22 Thread Antoine Tremblay
Hi, I would like to test performance in a pub/sub scenario with ActiveMQ 5.4.2.. I would prefer to use JMeter but all the docs I can find at : http://activemq.apache.org/performance.html Are about version 3.0 or 4.0 How should I test 5.x ? Or is using JMeter not a good idea anymore ? Thank

Re: Clients can get stuck in a reconnect loop with master-slave brokers

2011-03-22 Thread Gary Tully
The test needs some mods to ensure that the slave broker listen port is only started when the broker becomes the baster. In code, the addition of the transportConnector needs to be: // lazy create transport connector on start completion TransportConnector connector = new Transport

Clients can get stuck in a reconnect loop with master-slave brokers

2011-03-22 Thread rasmusback
Hi, I'm using the shared file system, master slave setup with two brokers on separate servers. My clients are configured to use the failover transport with a URL like this: failover://(tcp://broker1:61616,tcp://broker2:61616)?randomize=false. I've noticed that the order of the brokers in the failo

Re: network of broker stop forwarding messages without advisorySupport enabled

2011-03-22 Thread Gary Tully
correct, networking the dynamically created and named temp queues require advisories. First note that advisories are typically fine, it is only in large networks with many dynamic consumers that the advisory overhead is significant. There are two possible workarounds for request reply when adviso

Re: newbie question about Virtual Topics

2011-03-22 Thread Ian Holsman
Thanks Dejan. changing it to VirtualTopicConsumers.ConsumerNumberOne.VirtualTopic.TEST worked great. regards Ian On Tue, Mar 22, 2011 at 8:24 PM, Dejan Bosanac wrote: > Hi, > > note that VirtualTopicPubSubUsingXBeanTest, that uses > global-virtual-topics.xml, uses different pattern for consumer

Re: newbie question about Virtual Topics

2011-03-22 Thread Dejan Bosanac
Hi, note that VirtualTopicPubSubUsingXBeanTest, that uses global-virtual-topics.xml, uses different pattern for consumer names protected String getVirtualTopicConsumerName() { return "VirtualTopicConsumers.ConsumerNumberOne.FOO"; } so you need either to listen to VirtualTopicCon

newbie question about Virtual Topics

2011-03-22 Thread Ian Holsman
Hi. I'm trying to configure a ActiveMQ server to use Virtual Topics. I've copied the broker configuration from https://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/broker/virtual/global-virtual-topics.xml and copied the Test code from the VirtualTo