RE: EXTERNAL: Re: Upgrade from 5.3 to 5.5

2011-07-05 Thread Robillard, Greg L
In case anyone cares! Original: New: http://www.springframework.org/schema/beans";> Additionally,

RE: EXTERNAL: Re: Upgrade from 5.3 to 5.5

2011-07-05 Thread Robillard, Greg L
Nope, found that 5.3 to 5.5 requires the schema to be in alphabetic order. Now I get a different error. C:\apache-activemq-5.5.0\bin>activemq.bat Java Runtime: Sun Microsystems Inc. 1.6.0_24 C:\Program Files\Java\jdk1.6.0_24\jre Heap sizes: current=15872k free=14340k max=506816k JVM ar

Kahadb Question

2011-07-05 Thread Vijay
I am referring to http://activemq.apache.org/kaha-persistence.html to enable kaha persistentce. snippet1 below is what AMQ by default provides and snippet 2 is what is mentioned in the link above. Both these snippets have directory configuration. What is the difference between these two? snippet

Re: Upgrade from 5.3 to 5.5

2011-07-05 Thread Marcelo Jabali
Hi Greg, The empty xmlns="" seems to be causing that exception. Hope this helps, -Marcelo On Jul 5, 2011, at 10:47 AM, Robillard, Greg L wrote: > I am running the following plugin on 5.3. > > > class="com.lmco.fltwinds.activemqsecurity.FltwindsSecurityPlugin" xmlns=""> >

Hot Reload authorizationPlugin from Config File

2011-07-05 Thread Matt
I searched the archives and found this question asked before on this forum in 2006 ( http://activemq.2283324.n4.nabble.com/Refreshing-authorizationPlugin-config-td2343938.html http://activemq.2283324.n4.nabble.com/Refreshing-authorizationPlugin-config-td2343938.html ) and again in 2009 ( http://act

Upgrade from 5.3 to 5.5

2011-07-05 Thread Robillard, Greg L
I am running the following plugin on 5.3. When upgrading to 5.5, the same plugin causes the following error. Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Se

Re: Durable subscriptions not surviving network disconnect

2011-07-05 Thread Andreas Calvo
This JUnit test reproduces the error: http://pastebin.com/RXCVHzGt -- View this message in context: http://activemq.2283324.n4.nabble.com/Durable-subscriptions-not-surviving-network-disconnect-tp3586149p3646615.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Master/Slave configuring clients

2011-07-05 Thread Vijay
Unfortunately I see the same behavior in linux as well. Any thoughts? Vijay wrote: > > Yes. I am using WinXP. Will try to run in linux and verify. Post the > results back here. Thanks. > > > boday wrote: >> >> are you using Windows? If so, you might see this bug >> https://issues.apache.org

Re: Durable subscriptions not surviving network disconnect

2011-07-05 Thread Andreas Calvo
I've started a JUnit Test case. Since it's the first time, it's not clean, may be buggy and the behavior is not what I really expected, but maybe it's a start. org.apache.activemq.usecases.DurableSubscriberWithNetworkDisconnectTest: http://pastebin.com/kr9uu0uE -- View this message in context:

Re: Simplest possible broker-to-broker authentication

2011-07-05 Thread John Fletcher
2011/7/5 Dejan Bosanac > Do you have the other broker trying to connect to this one? No, that's the strange thing. I only have one broker running. > If so you need > to add username/password to the > I have tried that and it didn't work for me - no connection was established and I saw these l

Re: Master/Slave configuring clients

2011-07-05 Thread Vijay
Yes. I am using WinXP. Will try to run in linux and verify. Post the results back here. Thanks. boday wrote: > > are you using Windows? If so, you might see this bug > https://issues.apache.org/jira/browse/AMQ-3273 AMQ-3273 ...it caused me a > lot of confusion while trying to test this scenari

Re: Master/Slave configuring clients

2011-07-05 Thread boday
are you using Windows? If so, you might see this bug https://issues.apache.org/jira/browse/AMQ-3273 AMQ-3273 ...it caused me a lot of confusion while trying to test this scenario. Vijay wrote: > > I am rephrasing my question for get rid of confusion. > > We have a Converter app (Standalone JM

Re: Master/Slave configuring clients

2011-07-05 Thread Vijay
I am rephrasing my question for get rid of confusion. We have a Converter app (Standalone JMS consumer client based on Spring DefaultMessageListenerContainer) which will consume messages from AMQ Broker hosted on same server. An upstream system will publish messages on to "TEST.FOO" Q on this bro

Re: Difference between prefetch=0 and prefetch=1?

2011-07-05 Thread Dejan Bosanac
Hi Martin, the only thing is that prefetch=0 will not work with async listeners (nothing will be pushed to the consumer), but the consumer needs to call receive() method explicitly (pull the message). Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open sour

Difference between prefetch=0 and prefetch=1?

2011-07-05 Thread Martin C.
Hi, When reviewing ActiveMQ code, I see a lot of special treatment for the prefetch=0 case. What exactly is the conceptual difference between 1 and 0 prefetch? We are currently using prefetch=0 via failover, but are in the process of migrating away from failover to multiple connections with Sprin

Re: How does prefetch work with client acknoledgements?

2011-07-05 Thread Gary Tully
can you add more detail to that jira entry, include your configuration and verify that the sequence of steps to reproduce are still accurate. For a network connector using static discovery, if you use failover to choose from a set of urls, ensure you use maxReconnectAttempts=1 such that transport

Re: Question concerning JMS/ActiveMQ Design

2011-07-05 Thread Gary Tully
this is a classic slow consumer problem. Have a peek at http://activemq.apache.org/slow-consumer-handling.html You can use a single topic with non durable consumers and a low prefetch value. A slow consumer will then be one that has not consumed its prefetch before the next dispatch. You can deter

Question concerning JMS/ActiveMQ Design

2011-07-05 Thread detla
Hi all, we currently consider the use of JMS implemented by ActiveMQ in the following scenario: A producer will produce roughly 300 to 400 rather large (20-30 MB) data objects per minute (in total ~17000 objects). Seven different processor-objects process the data objects in parallel. The setting

Re: How does prefetch work with client acknoledgements?

2011-07-05 Thread lernen.2007
Here is a Jira-Entry: https://issues.apache.org/jira/browse/AMQ-2614 -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3645856.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How does prefetch work with client acknoledgements?

2011-07-05 Thread lernen.2007
Hi, here is a Jira-Entry: https://issues.apache.org/jira/browse/AMQ-2614 -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3645854.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: How does prefetch work with client acknoledgements?

2011-07-05 Thread lernen.2007
Hi, I don't have any solution. The messages stuck further after a failover. Is there any fix in version 5.6.0? -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3645806.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Simplest possible broker-to-broker authentication

2011-07-05 Thread Dejan Bosanac
Do you have the other broker trying to connect to this one? If so you need to add username/password to the Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.

Re: activemq:web

2011-07-05 Thread Dejan Bosanac
Hi, there is more description of the REST API here http://activemq.apache.org/rest.html and also it's enabled by default in demo application. So when you start your broker, go to http://localhost:8161/demo and you can find how to send/receive messages using REST

Re: Fwd: Message groups enhancement feature request

2011-07-05 Thread Dejan Bosanac
BTW. we have open feature request for the broker rebalance message groups when consumers are added/removed ( https://issues.apache.org/jira/browse/AMQ-2106). I think that's the best way to handle this use case. In any case, any contribution in this area is welcomed. Regards -- Dejan Bosanac - ht

Simplest possible broker-to-broker authentication

2011-07-05 Thread John Fletcher
I'm trying to implement security and I want to start by just creating a simple broker to broker authentication (ActiveMQ 5.5.0). Unfortunately when I add the simpleAuthenticationPlugin to one broker, it throws WARN messages, even when it is the only thing running (nothing trying to connect to it):

Re: Producer blocked even after termination of all subscribers

2011-07-05 Thread edmallia
Hi Martin, Thanks for the quick reply. Your reply got me thinking about my message limits. My topic memory limit was set to 1MB : and my system memory usage was set to 800 mb I just realised that the 1mb limit was causing

activemq:web

2011-07-05 Thread Chris Grigor
HI everyone, I’m new to this list so please go easy! I’ve been looking through the activemq website for documentation on setting up a web connector for REST. The documentation under the active:web section provides hardly any directions and for a new comer like me I would like to be able to kno

Re: STOMP transport in embedded Broker not working

2011-07-05 Thread Dejan Bosanac
Can you turn on debug logging, it should help seeing what's wrong. One thing I noticed is that you're missing some dependencies like xstream for example. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource

Re: Monitoring ActiveMQ queue sizes via StatisticsPlugin

2011-07-05 Thread Dejan Bosanac
Hm, it should work. Can you turn on debug logging and see if there's anything there to indicate the problem. Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.

Re: Fail to acquire lock. Stays as "slave"

2011-07-05 Thread farhad
Hi Gary, I set the logging level to DEBUG and after restarting, the log shows that the select and update query for the ACTIVEMQ_LOCK times out. Here is the exception: 2011-07-05 09:12:01,217 | INFO | Database lock driver override not found for : [mysql-ab_