Re: Even after upgrade to ActiveMQ 5.4.0, still seeing negative #'s in the "Pending Msgs" column

2010-09-03 Thread Colleen Velo
Gary, Thanks for the clarification - still working on a JUnit test. Currently right now the steps that I use to reproduce it is to have the 3 producers each send *60,000* messages each to the ActiveMQ cluster at the same time - more often than not, when the queue is trending down towards 0 on the

Re: Add a progress indicator to the file cursor recovery phase

2010-09-03 Thread Fredrik Jonson
Thank you, Gary! That's just awesome. -- Fredrik Jonson

RE: ActiveMQ C++ build errors

2010-09-03 Thread Timothy Bish
On Fri, 2010-09-03 at 14:28 +0100, Neil Pritchard wrote: > > -Original Message- > From: Timothy Bish [mailto:tabish...@gmail.com] > Sent: 03 September 2010 14:05 > To: users@activemq.apache.org > Subject: RE: ActiveMQ C++ build errors > > On Fri, 2010-09-03 at 08:50 +0100, Neil Pritchard

RE: ActiveMQ C++ build errors

2010-09-03 Thread Neil Pritchard
-Original Message- From: Timothy Bish [mailto:tabish...@gmail.com] Sent: 03 September 2010 14:05 To: users@activemq.apache.org Subject: RE: ActiveMQ C++ build errors On Fri, 2010-09-03 at 08:50 +0100, Neil Pritchard wrote: > > -Original Message- > From: Timothy Bish [mailto:tab

RE: ActiveMQ C++ build errors

2010-09-03 Thread Timothy Bish
On Fri, 2010-09-03 at 08:50 +0100, Neil Pritchard wrote: > > -Original Message- > From: Timothy Bish [mailto:tabish...@gmail.com] > Sent: 02 September 2010 18:46 > To: users@activemq.apache.org > Subject: Re: ActiveMQ C++ build errors > > On Thu, 2010-09-02 at 16:58 +0100, Neil Pritchard

Re: Want one broker, two turn up

2010-09-03 Thread Gary Tully
thanks for posting back and closing the loop! On 3 September 2010 10:59, jsvaughan wrote: > > I think that may be it. > > I changed the camel import to exclude activemq: > > >        org.apache.activemq >        activemq-camel >        5.4.0 >         >                 >                        o

Re: How to use a second,own log4j.properties for a bean?

2010-09-03 Thread Dejan Bosanac
You can configure your bean to log to the other file in the same log4j.properties file ActiveMQ uses. You just need to define a new appender and configure your logs to write there. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Ac

How to use a second,own log4j.properties for a bean?

2010-09-03 Thread Ben Stover
I deployed a (MD)Bean to the /lib subfolder of ActiveMQ and configured the activemq.xml accordingly. The Bean runs successfully. As a side operation it does some logging which should be directed to a second, separate logfile (e.g. $ACTIVEMQ_HOME/data/mylogfile123.log). So it cannot use the defa

Re: Want one broker, two turn up

2010-09-03 Thread jsvaughan
I think that may be it. I changed the camel import to exclude activemq: org.apache.activemq activemq-camel 5.4.0 org.apache.activemq activemq-core

Re: Add a progress indicator to the file cursor recovery phase

2010-09-03 Thread Gary Tully
done: see https://issues.apache.org/activemq/browse/AMQ-2891?focusedCommentId=61659&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_61659 On 3 September 2010 09:31, Gary Tully wrote: > yea, that makes perfect sense. Think logging every X messages will be > easy, gett

Re: Want one broker, two turn up

2010-09-03 Thread Gary Tully
ah ok, my mistake. Wonder if it is a classloading issue then, both of the webapps having their own activemq jars and seeing their own broker registry so both creating a broker. You may want to push the activemq jars into the tomcat lib directory so they are shared. On 3 September 2010 09:48, jsvau

Re: Want one broker, two turn up

2010-09-03 Thread jsvaughan
Would that result in both my applications waiting for the broker to start though (and just postpone the problem)? I only have vm:localhost defined once, in the brokerurl of the connectionfactory found by jndi. -- View this message in context: http://activemq.2283324.n4.nabble.com/Want-one-bro

Re: Want one broker, two turn up

2010-09-03 Thread Gary Tully
see the waitForStart attribute on the vm transport, this can help with ordering issues as the vm: transport will auto created an embedded broker by default. http://activemq.apache.org/the-vm-transport-starts-a-broker-before-my-configured-broker-starts.html On 3 September 2010 09:15, jsvaughan wr

Re: Add a progress indicator to the file cursor recovery phase

2010-09-03 Thread Gary Tully
yea, that makes perfect sense. Think logging every X messages will be easy, getting some sort of "precent complete output" will be a little harder but an approximation should be possible. On 3 September 2010 06:47, Fredrik Jonson wrote: > Hello, > > I saw AMQ-2891 passing by in the mail flood, an

Want one broker, two turn up

2010-09-03 Thread jsvaughan
Hi, I have two web apps running in Tomcat and I would like both of them to make use of a common activemq broker. However I seem to have a problem where two brokers are started instead. In my tomcat context.xml I have a single connection factory and two queues defined:

RE: ActiveMQ C++ build errors

2010-09-03 Thread Neil Pritchard
-Original Message- From: Timothy Bish [mailto:tabish...@gmail.com] Sent: 02 September 2010 18:46 To: users@activemq.apache.org Subject: Re: ActiveMQ C++ build errors On Thu, 2010-09-02 at 16:58 +0100, Neil Pritchard wrote: > Hi All, > > I'm trying to build activeMQ-CPP as part of pyact