network of brokers question

2010-06-28 Thread ami.rozen
Hi We are using the activemq brokers in a high scale production environment. To prevent downtime we decided to configure the brokers to work as a network of brokers. There are 2 brokers which use a fixed list of urls to connect to each other. The clients and services use the failover url with a li

Re: systemUsage in activeMQ.xml

2010-06-28 Thread radha_mit
Thanks, and one doubt, our machine has 8gb ram. its a 32 bit machine and we are not able to give more than 2700 MB as the max heap size for the activeMQ broker. suppose i give 2700 MB as -Xmx in the active.sh file and 3000 MB as the memoryUsage in the activemq.xml file, then which one will it t

Re: ActiveMQ 5.3.2 transportConnector uri="tcp://0.0.0.0:61616"

2010-06-28 Thread cobrien
Richard, It appears that the java method getLocalHost on the java class java.net.InetAddress , on which the transportConnector depends, can be ambiguous on linux. Its behavior is also dependent on the version of java you are using. The issue and solutions discussed below: http://bugs.sun.com/bu

Re: memory leak problem with ActiveMQ 5.1

2010-06-28 Thread Mark
Part of my problem I found was that I wrapped the parts of the JMS library that I needed into my own library. For each endpoint I was creating a producer AND consumer regardless if I need both or not. This was leading to the producer/consumer eating up memory by creating objects that I did not nee

Re: ActiveMQ mixes up order of messages while receiving them from Camel

2010-06-28 Thread cobrien
Hi, Can you describe a little more your Queue topology and configuration- perhaps even share your config file(s). Not all queue topologies are order preserving! -clark Clark www.ttmsolutions.com ActiveMQ reference guide at http://bit.ly/AMQRefGuide sonicBasher wrote: > > At the end of my c

Re: systemUsage in activeMQ.xml

2010-06-28 Thread cobrien
Radha The element is used to set the maximum amount of memory the broker will use. The element is used to set the maximum size of the message store used for non- persistent messages that overflow from memory awaiting dispatch. This overflow typically occurs when producer flow control has been d

Re: ActiveMQ 5.3.2 transportConnector uri="tcp://0.0.0.0:61616"

2010-06-28 Thread cobrien
Richard, As you pointed out this was an issue with previous releases and was assumed fixed for 5.3.2 . Details can be found at https://issues.apache.org/activemq/browse/AMQ-2094. I will investigate this further. In the meantime I assume you are ok with the fix that you found? Clark www.tt

ActiveMQ mixes up order of messages while receiving them from Camel

2010-06-28 Thread sonicBasher
At the end of my camel route I have a following class which I use to put messages in ActiveMQ: public class MessageProducer { private ProducerTemplate template = null; public MessageProducer(ProducerTemplate template) { this.template = template; } public void prod

PooledConnectionFactoryBean is not assignable to interface javax.jms.ConnectionFactory

2010-06-28 Thread Daoud AbdelMonem Faleh
Hi again, I was trying to run ActiveMQ under Felix Karaf and faced few issues solved some of them (for reference http://www.mail-archive.com/us...@felix.apache.org/msg07829.html) Now my broker is detected as an osgi bundle and the framework try to start it however I get the following stacktrace wh

Re: systemUsage in activeMQ.xml

2010-06-28 Thread Joe Fernandez
See this post from Rob and corresponding thread. http://old.nabble.com/StoreUsage%2C-TempUsage-and-MemoryUsage-to15206526.html#a15211788 Joe http://www.ttmsolutions.com ActiveMQ Ref Guide - http://bit.ly/AMQRefGuide radha_mit wrote: > > > Hi, > we are planning to shift our jms provider

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-28 Thread Timothy Bish
On Mon, 2010-06-28 at 02:22 -0700, Sodan wrote: > is there a way to test if a map is empty ? > You could call getMapNames() and see if the returned vector is empty. Regards > Søren > > > > Timothy Bish wrote: > > > > On Fri, 2010-06-25 at 05:05 -0700, Sodan wrote: > >> Hi again > >> > >>

systemUsage in activeMQ.xml

2010-06-28 Thread radha_mit
Hi, we are planning to shift our jms provider to activeMQ from our next product release. our first work involving activeMQ is to send 100 persistent messages each of size 2.5 KB per second, on a JMS Topic. We plan to use AMQ PersistenceAdapter for that. Now, we have some doubts i

ActiveMQ 5.3.2 stalled emails in queue

2010-06-28 Thread Pavel Moravec
Hello, has somebody met stalled persistent emails in ActiveMQ 5.3.2? Something like AMQ-2009? As that should be fixed in ActiveMQ 5.3 while we see that in 5.3.2. In our case, ActiveMQ receives emails from James server, puts them into a queue where there are 50 consumers all with prefetch set to 1.

Re: activemq-cpp 3.2.0 vs2005-build directory is missing

2010-06-28 Thread Sodan
is there a way to test if a map is empty ? Søren Timothy Bish wrote: > > On Fri, 2010-06-25 at 05:05 -0700, Sodan wrote: >> Hi again >> >> Spent a number of hours trying to figure this out. I get a certain type >> of >> message, call it "PT" and many of these messages are ok, but then >> sud

Re: Unable to use local transactions

2010-06-28 Thread Gary Tully
iirc, the XATransaction in the ra.xml determines this. Use LocalTransaction in your case. This can be overridden in the jboss -ds.xml descriptor. Check the jboss RAR documentation to find the details. On 27 June 2010 06:46, Edison Melo wrote: > > Please forgive if this is a silly question. I h

Re: memory leak problem with ActiveMQ 5.1

2010-06-28 Thread Gary Tully
Maybe some of the following options are relevant http://activemq.apache.org/javalangoutofmemory.html#java.lang.OutOfMemory-SpoolingMessagestoDisk On 28 June 2010 08:37, PatrickVB wrote: > > Hi, > > I know this thread is quite old. I'm getting the same error. > The JVM which is sending message to

Re: ActiveMQ 5.3.2 transportConnector uri="tcp://0.0.0.0:61616"

2010-06-28 Thread Gary Tully
See the following issue for details of the reason: https://issues.apache.org/activemq/browse/AMQ-2094 On 27 June 2010 04:01, RichardWang wrote: > > Hi, > > I use ActiveMQ 5.2.0. I was trying to upgrade it to 5.3.2 but had issues > when 5.3.2 was running on Linux. The ActiveMQ clients, including

Re: memory leak problem with ActiveMQ 5.1

2010-06-28 Thread PatrickVB
Hi, I know this thread is quite old. I'm getting the same error. The JVM which is sending message to the broker is getting an OOM. I'm using 5.3.1. For message sending I use stream message. Regards Patrick elihusmails wrote: > > I am finally getting the chance to continue testing this and