Master/Slave jdbc row lock can't be auto-released

2007-09-11 Thread Dingwen Yuan
Hi folks, We have tested master/slave configuration with pure jdbc persistence and the db used are mysql and postgres. When we plugged out the electric cable of the master machine, the row lock on the table ACTIVEMQ_LOCK cannot be released. So later neither of the machines can get the lock and bec

Re: deadlock while publishing a message.

2007-09-11 Thread Jim Alateras
Rob, Using the embedded broker but couldn't locate the thread holding the lock. The problem is that it is blocking the client thread. If i use something like async=true then will the delivery happen in a separate thread? cheers Rob Davies wrote: the client is waiting for a response from the

Re: many consumers

2007-09-11 Thread James Strachan
On 9/12/07, Sean Folster <[EMAIL PROTECTED]> wrote: > how do I configure broker(s) so that it receives message on specific topics > and then sends them to all consumers persistently The default out-of-the-box ActiveMQ does that. http://activemq.apache.org/how-do-i-get-started-with-jms.html http:

Re: deadlock while publishing a message.

2007-09-11 Thread Rob Davies
the client is waiting for a response from the broker - what's the broker doing whilst you are doing this ? cheers, Rob 'Go Get Integrated - ride the Camel! - http://activemq.apache.org/ camel/' http://rajdavies.blogspot.com/ On Sep 11, 2007, at 11:27 PM, Jim Alateras wrote: I am using

ActiveMQ performance(activemq +ajax)

2007-09-11 Thread JigarP
Hi All, I had posted on issue related to activemq and ajax but i did not get reply for that. I am having below issue. 1) I am using javascript setInterval method and calling amq.addListener method every 3 seconds as if i use default behaviour of activemq +ajax then sometime i am not able t

Re: Looking for Help ActiveMQ and Jetty

2007-09-11 Thread Zanderfax
I made the changes with no apparent effect. Where would I look for the debug log or stack trace if they exist? chago wrote: > > FWIW, I can't reproduce the timing issue... It seems your original code > runs fine on my setup. > > Keep in mind that I am using a different version of amq.js. (Se

many consumers

2007-09-11 Thread Sean Folster
how do I configure broker(s) so that it receives message on specific topics and then sends them to all consumers persistently - Check out the hottest 2008 models today at Yahoo! Autos.

deadlock while publishing a message.

2007-09-11 Thread Jim Alateras
I am using activemq 5.0-SNAPSHOT with a current project and have just come across a situation where a thread blocks indefinitely trying to publish a message. It happens during the session commit The method ActiveMQDispatcherClient.dispatch is synchronized. Here is the stack trace. Thread [poo

Re: how to configure JMX port from property file with Spring

2007-09-11 Thread kmoore4now
Just to follow up on this: I've made a local copy of activemq-core-4.1-SNAPSHOT.xsd, with this value for the connector port attribute of the managementContext element: That is, I changed xs:int to xs:string. The Spring config now validates successfully and the PropertyPlaceholderConfigure

Re: Kaha persistence adapter configuration error

2007-09-11 Thread alanmehio
Nicky, As I have noticed from the Excpetion stack below Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [java.io.File] for property 'directory'; nested exception is ja

MasteSlave does not appear to work in 4.1.1 or 5.0-snapshot

2007-09-11 Thread Joe Kislo
Hi, I am trying to get a Master/Slave configuration of ActiveMQ working, but havn't had any luck on 4.1.1 or 5.0. When I use the 4.1.1 release, I run into this bug: https://issues.apache.org/activemq/browse/AMQ-1257 Which appears to simply make Master/Slaves not work. The bugfix is against 5.0

Re: many consumer

2007-09-11 Thread ttmdev
I am not sure what you mean by "be consistent", but in case you are referring to strict ordering of messages across all the subscribers then you may want to check out the "Total Ordering" feature. http://activemq.apache.org/total-ordering.html Joe Sean Folster wrote: > > how do I make it so

many consumer

2007-09-11 Thread Sean Folster
how do I make it so I have many producers publishing to the same topic and many consumers getting all of those messages, and those messages to be consistent - Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.

programmatically purging all queues

2007-09-11 Thread corcorda
Hi, I'm looking for a way to iterate over all queues matching a certain pattern and removing all messages from them. I'm using ActiveMQ for several different software environments and when a particular environment is restarted it needs to purge its queue. Each queue looks like "environment_name

Re: Duplicate (persistant) messages with durable subscriptions

2007-09-11 Thread PieterN
FYI, I checked with ActiveMQ 4.1.1, there it works as expected. With 4.2 and 5.0 snapshots however I get the problem described in my previous e-mail. Regards, Pieter PieterN wrote: > > Hi all, > > I have encountered a very strange problem. I have two consumers, having a > durable subscriptio

ServiceMix ActiveMQ Consumer has been broken in recent builds

2007-09-11 Thread Daryl Richter
Hi- I have a very simple ServiceMix JMS Service Unit which reads messages off a queue. Here is the xbean: http://www.w3.org/2004/08/wsdl/in-out"; connectionFactory = "#ConnectionFactory"/> class="org.apache.activemq.ActiveMQConnectionFactory"> It works fine with

Re: connection state check

2007-09-11 Thread Marcin Szkudlarek
Thanks for suggestion. I've already tried that and getting no notification that the server is down. Regards, Marcin James.Strachan wrote: > > On 9/6/07, Marcin Szkudlarek <[EMAIL PROTECTED]> wrote: >> >> Hi all, >> How I can check the state of activemq connection? i.e. how i can check >> that

Duplicate (persistant) messages with durable subscriptions

2007-09-11 Thread PieterN
Hi all, I have encountered a very strange problem. I have two consumers, having a durable subscription on a topic. If I send a persistent message to the topic, everything works ok. However, when I restart the consumers, one of them receives the message again after connecting (it seems to be the o

working with apache axis in netbeans in running a webservices

2007-09-11 Thread gayuthr1985
hi, i am working in webservices where i consume a wsdl file and run the project in netbeans environment . the build does not show any error on compilation. but when i run it it shows the following error. the OS i work is z/Os. pls help me as soon as possible. it will be of a great help to me. th