Re: Configuration Shared Master Slave (and some questions)

2012-01-16 Thread liny
Hi, I am new to ActiveMQ and couldn't answer your questions. But don't you need to add "??randomize=false" to the end of client's failover URL to force your client always connect master first? -- View this message in context: http://activemq.2283324.n4.nabble.com/Configuration-Shared-Master-Slav

Client stucks and activeMQ has to be restart to recover

2012-01-16 Thread Don Hu
Anybody has similar issue like this? The JMS clients got stuck after a few days running with moderate load to the broker, the server has to restarted to recover. It only appears in production environment. I am researching an issue with the symptoms similar to https://issues.apache.org/jira/bro

Network of brokers with an embedded broker?

2012-01-16 Thread Kai Hackemesser
Hi there, I made yesterday an experiment adding an embedded broker to an established network of standalone brokers (5.6 snapshot) the broker established a network connection. It was contacting the brokers sucessfully, but the network somehow did not get active - messages sent to topics on the netw

Configuration Shared Master Slave (and some questions)

2012-01-16 Thread Abimael
Hi everyone I'm trying to understand ApacheMQ to achieve a message HA system. I think that Shared Master Slave is one of the architecture options to me , but, unfortunely, I am cannot get the proper configuration . let me explain the scenario of my tests : - I want to test HA - that means , if the

Re: activemq performance

2012-01-16 Thread chirino
Sounds like your closing the connection after every message sent in a tight loop. Your client or server might be running out of ephemeral TCP ports. Make sure you keep the JMS connection and session open for all your message sends. sivaprasad wrote > > after successfully sent 3500 messages i a

Re: Reply:Do policy map entries aggregate?

2012-01-16 Thread Jason Dillon
Best match will generally get the most specific entry then? Which entry here would match test.example, and which would match test.example.component? I'm guessing that test.*.component matches the later, but which of "test.>" or

Re: activemq performance

2012-01-16 Thread Zagan
This looks for me like an error in the client implementation. Can you perhaps provide the relevant code snippet? -- View this message in context: http://activemq.2283324.n4.nabble.com/activemq-performance-tp4288084p4300142.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: serverside logging BEGIN() and COMMIT() of transactions

2012-01-16 Thread Zagan
Hi to put in in different words- I want to have logged when a client connects- and disconnects to an active mq broker instance serverside in the activemq.log. Any ideas? -- View this message in context: http://activemq.2283324.n4.nabble.com/serverside-logging-BEGIN-and-COMMIT-of-transactions-tp42

Configuring JDBC master/slave with Oracle RAC

2012-01-16 Thread Zagan
Hello, do anybody of you have experiences in configuring JDBC connection to Oracle database (RAC)? What does Active MQ in case of a database failover? Is this transparent to the broker instance? How big is the performance impact? Thanks for any real world experiences -- View this message in cont

Re: How to make consume a message per a time?

2012-01-16 Thread Zagan
Hi, Active MQ provides you an API to GET a message from queue or PUT a message to queue for different programming languages. So from my point of view, It is only adding a sleep(x seconds) call between each PUT or GET operation. -- View this message in context: http://activemq.2283324.n4.nabb

Re: Producer Hung up after some time.

2012-01-16 Thread Zagan
Hi, I had the same problem. 'sendFailIfNoSpace' seems only to work for the limits defined under . If you find a solution which enables throwing exceptions when hitting the ProducerFlowControl Limit please let me know! -- View this message in context: http://activemq.2283324.n4.nabble.com/Produce

Re: Producer Hung up after some time.

2012-01-16 Thread Zagan
Hi, I had the same problem. 'sendFailIfNoSpace' seems only to work for the limits defined under . If you find a solution which enables throwing exceptions when hitting the ProducerFlowControl Limit please let me know! -- View this message in context: http://activemq.2283324.n4.nabble.com/Produce

Re: unload queue to file

2012-01-16 Thread Zagan
Ok, well last time I tried it, I was really in a hurry. Will hopefully check it out tomorrow again :-) -- View this message in context: http://activemq.2283324.n4.nabble.com/unload-queue-to-file-tp4288530p4300076.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Reply:Do policy map entries aggregate?

2012-01-16 Thread Gary Tully
they don't aggregate. There is an best match, and the default takes the unmatched case. On 16 January 2012 03:28, Jason Dillon wrote: > On Jan 15, 2012, at 6:38 PM, SuoNayi wrote: >> The last policy will be applied. > > Um, this doesn't really answer the question I asked... > > What does "last" m

Re: unload queue to file

2012-01-16 Thread Claus Ibsen
On Mon, Jan 16, 2012 at 8:50 AM, Zagan wrote: > Great! > Thanks for your reply. I tried HermesJMS in the past, but this seems poorly > documented and not so easy to use. Did you get it to work with Active MQ > 5.5? > Yeah last time I used Hermes it worked with WebsphereMQ and ActiveMQ, which wher

Re: Growing size of data-queue-data-1 file under data folder

2012-01-16 Thread Zagan
Hi, this seems to be a general Active MQ issue. I had the same problems also under Active MQ 5.4 and Debian Linux. We solved it upgrading to Active MQ 5.5 and install Java 1.6.18 or higher, -- View this message in context: http://activemq.2283324.n4.nabble.com/Growing-size-of-data-queue-data-1

Re: Producer Hung up after some time.

2012-01-16 Thread Ganuke Perera
When I change the policy with producerFlowControl="false" and it work fine. But the problem is we can't accept any message lost. So It is great we can go with having producer flow control. In the forum at http://activemq.apache.org/per-destination-policies.html they said producer will diligently wa