activemq 4.1.1 configure a new database(sqlserver) and replayce default derby db

2007-09-18 Thread Qil . Wong
Hi, I need to change the persistence database to sqlserver2000 instead of derby, I follow the steps both in http://activemq.apache.org/sqlserver.html and http://activemq.apache.org/how-to-configure-a-new-database.html, but I still get exceptions. The property "dataSourceRef" cannot be recognized.

Re: 4.1.2 release date

2007-09-18 Thread Bruce Snyder
On 9/18/07, Jamie McCrindle <[EMAIL PROTECTED]> wrote: > Hi guys, > > As always, great job on ActiveMQ! > > We're switching to MySQL for one of our deployments and we've just run > into http://issues.apache.org/activemq/browse/AMQ-1236 (Pure JDBC > Master Slave problem with ActiveMQ 4.1.1 and MySQL

Re: Help! Missing messages in Multithreaded producer

2007-09-18 Thread tendlu
You are correct. The Session was shared among threads and it was a bug in the test case. A Session per thread solved the problem. Thanks a lot James. James.Strachan wrote: > > On 9/7/07, tendlu <[EMAIL PROTECTED]> wrote: >> Not all messages(persistent) to a queue are sent to the broker if >>

Re: Unexpected remote command

2007-09-18 Thread ttmdev
I am trying to connect two 5.0 brokers via a duplex network connection without much success (see exception stack below). I am using the latest 5.0 snapshot. If I take out "duplex=true", both brokers are happy-campers and life is good. Has the duplex feature been fully implemented? - Thanks ERROR

Re: Can a MDB listen at queue

2007-09-18 Thread delphz
I think that I have the same problem. I have a client on a server A that sends JMS messages on a activemq broker on a server B. The messages are send on the queue "queue.reporting". There is a persistence database on my server B. When I look at the messages, I see that the container is queue://qu

4.1.2 release date

2007-09-18 Thread Jamie McCrindle
Hi guys, As always, great job on ActiveMQ! We're switching to MySQL for one of our deployments and we've just run into http://issues.apache.org/activemq/browse/AMQ-1236 (Pure JDBC Master Slave problem with ActiveMQ 4.1.1 and MySQL). Are there any plans to release 4.1.2 anytime soon or should I s

Re: Problems building with Maven

2007-09-18 Thread Guillaume Nodet
This error comes from garbage in your local repo. Just delete it and retry. rm -Rf ~/.m2/repository On 9/17/07, pjackson <[EMAIL PROTECTED]> wrote: > > > I tried compiling the ActiveMQ 4.1.1 source with Maven 2.0.4 and 2.0.7 and > get this error. Can't figure out how to fix maven to get past

Re: Retrieving Messages Out of Sequence

2007-09-18 Thread wojtek.z
As it turned out the exclusive.consumer feature wasn't helping my situation. So I took that out , but adding the maxSessions = 1 seems to guarantee proper sequence everytime. I have ran a number of test cases and it always comes up correct. I will experiment more with different flags to see if i

Re: Retrieving Messages Out of Sequence

2007-09-18 Thread ttmdev
Since you are using groups and sequence numbers, why not just rely on AMQ's "message groups" feature? That way you don't have to worry about tagging destinations with exclusive.consumer=true. wojtek.z wrote: > > Crap I think I answered my own questions :) > > Problem was I wasn't setting the

Re: Looking for Help ActiveMQ and Jetty

2007-09-18 Thread Zanderfax
Thanks for the info, and the patience. I will download Firebug and see what I can see. You will most likely be hearing from me. J chago wrote: > > I have tried your example and it works for me with my new amq.js file and > the one that is in the head. I suspect that their is some component >

Re: Retrieving Messages Out of Sequence

2007-09-18 Thread wojtek.z
Crap I think I answered my own questions :) Problem was I wasn't setting the exclusive consumer / max Sessions on my OUT queue, instead I was putting it on my IN queue which my listener wasn't processing. After setting it on the correct one it works with 4.1.1 ... stupidity strikes again. Now on

Re: Retrieving Messages Out of Sequence

2007-09-18 Thread wojtek.z
Thanks for the replies guys Maybe to clarify I am using a custom message listener to retrieve the messages. I recently tried to set "exclusive consumer" as well as "maxSessions=1" but I still get the messages out of order. The strange thing I found was that if i put messages on the queue and my l

Re: Java to C++

2007-09-18 Thread pjackson
Using CMS as you suggested worked. I was able to get Java to publish and C++ to subcribe to a message. Thanks. pjackson wrote: > > Can Java apps talk to C++ apps using active MQ? Would they both use the > openwire transportConnector? I want to pass xml messages (i.e. strings). > > The incub

Re: Problems building with Maven

2007-09-18 Thread pjackson
I was connected to the internet, but behind a firewall. Perhaps that is the problem. I guess I could try it at home instead of at work. I'm not worried about this problem as I got my program running using the existing jar files. I tried to build ActiveMQ using eclipse, but there were a lot of

Strangeness with MemoryPersistenceAdapter

2007-09-18 Thread Jim Alateras
I seem to have stumbled across a memory leak using an embeded broker with MemoryPersistenceAdapter. I'm not sure whether it is the culprit but was wondering whether anyone else has come across a similar issue. Here is the relevant part of the config.

Re: Redelivery behaviour

2007-09-18 Thread corcorda
Ok. As far as I can tell redelivery only takes place locally. Once you've taken a message another worker will not see it even if you call rollback. The message only goes back to the queue when the worker that took the message disconnects. Is there another way to force the message to go back to th

Re: Performance Tuning guide available...

2007-09-18 Thread Bruce Snyder
On 9/18/07, StefanL <[EMAIL PROTECTED]> wrote: > > Hi, > it seems that the performance guide isn't available any longer, following > the link below sends you to the AMQ issue tracker page. > > Has the guide been removed? I was just looking at those articles last week and thinking of updating them.

Re: Performance Tuning guide available...

2007-09-18 Thread StefanL
Hi, it seems that the performance guide isn't available any longer, following the link below sends you to the AMQ issue tracker page. Has the guide been removed? /Stefan James.Strachan wrote: > > Incidentally we've created a little performance tuning guide here > which folks might find useful