Re: SAXParseException using default activemq.xml

2010-02-08 Thread Dejan Bosanac
Hi Kevin, thanks for digging into this and raising a Jira. We should fix this as we plan to upgrade to Spring 3 for the next release. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - ht

Re: activemq 5.3 slower than 4.1.2?

2010-02-08 Thread Rob Davies
It might be worth turning off producer flow control - see http://cwiki.apache.org/ACTIVEMQ/producer-flow-control.html On 9 Feb 2010, at 02:04, hwl wrote: Found a thread in the forum on similar issue that links to http://cwiki.apache.org/ACTIVEMQ/my-producer-blocks.html. We tried, and do not

why is sample app connecting to standalone broker?

2010-02-08 Thread bhomass
I am running the demo webapp in the download without any modification, and it apparently is connecting to the standalone broker which I started using the activemq.bat file. I don't understand why this should be, since the web.xml has a org.apache.activemq.brokerURL vm://local

How to monitor queue size of a thread pool

2010-02-08 Thread Michal Singer
hi. i am trying to check out during runtime, the queue of waiting tasks of a thread pool. I am using org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor and calling this: ThreadPoolTaskExecutor.getThreadPoolExecutor().getQueue().size() But it returns the pool size (ThreadPoolTas

Re: clustering options for HA and horizontal scalability

2010-02-08 Thread Bruce Snyder
On Fri, Feb 5, 2010 at 1:35 PM, boday wrote: > > I'm trying to determine my options for clustering my AMQ 5.3 application that > uses ServiceMix 3.3.1 and Camel 2.1.  I'm performing high volume message > processing and I need to cluster for high availability and horizontal > scalability. > > Here

ACTIVEMQ_MSGS table is full

2010-02-08 Thread vanisathish
I’m using ActiveMQ with mySQL persistence. I’m getting the error ACTIVEMQ_MSGS table is full, even though there are only very few records in the table (<300)…By default ActiveMQ will create the tables with innoDB as the storage engine type. Appreciate your inputs -- View this message in c

Re: activemq 5.3 slower than 4.1.2?

2010-02-08 Thread hwl
Found a thread in the forum on similar issue that links to http://cwiki.apache.org/ACTIVEMQ/my-producer-blocks.html. We tried, and do not observe the blocking issue so far. However, the performance dropped, with the average response time now at about 600ms. We set the usageManager limit to 128MB

Re: Exceptions are not thrown on XA Enviroment

2010-02-08 Thread javierkusse
Anyone can help me? -- View this message in context: http://old.nabble.com/Exceptions-are-not-thrown-on-XA-Enviroment-tp27437336p27505906.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: SAXParseException using default activemq.xml

2010-02-08 Thread khunter
Yes, I was using Spring 3.0. (I didn't notice until you mentioned it that the ActiveMQ distribution is using Spring 2.5.6. I guess somewhere between the two the parsing started paying attention to the schema. When I switched over to the spring jars that came with the distribution, it worked fin

RE: KahaDB data files not cleaned up

2010-02-08 Thread Daniel Kluesing
I'd be interested as well. I'm not using TTL, so I assumed my orphaned/non-sequence log files were due to out of order message consumption, but I also see the occasional log file hang around longer than expected. (say db-50.log then next is db-400.log, so big gap) -Original Message- Fr

Re: SAXParseException using default activemq.xml

2010-02-08 Thread Dejan Bosanac
Hi, are you using Spring 3.0 in your application? I've seen this when tried to upgrade Spring to 3.0. Still didn't find time to dig into the root of the problem, but basically it seems that ordering of elements is now necessary. So just, move 'destinationPolicy' tag up and everything should be fin

SAXParseException using default activemq.xml

2010-02-08 Thread khunter
I wrote a tiny bit of code intending to experiment with starting up an ActiveMQ instance inside a web application (with the intention of eventually using an "in the VM" configuration). I'm using ActiveMQ version 5.3.0, and Java 1.6.0_17. To start with, I simply tried to start an instance program

Re: KahaDB data files not cleaned up

2010-02-08 Thread B.D.
Any suggestions on how to prevent pileups of data/kahadb/db-xxx.log files? I just had to clean up 301 data/kahadb/db-xxx.log files that accumulated on a QA machine over 6 days. Message time to live is one day so that should not be happening. Logs show KahaDB cleanup was taking longer than expe

Broker started in Tomcat is stuck on startup

2010-02-08 Thread yair
Hi all I m using this spring + xbeans configuration to start the broker with my webapp:

Re: NMS client libraries Apache.NMS.ActiveMQ.dll and Apache.NMS.dll - Version 1.2.0

2010-02-08 Thread Timothy Bish
On Mon, 2010-02-08 at 06:56 -0800, pshar...@sapient.com wrote: > Hi, > We are in the process of using Apache NMS dll's for implementing > Transactional handling. In version 1.2.0, there is support of > RedeliveryPolicy class. > > But as mentioned on website 'http://activemq.apache.org' - The NMS 1

NMS client libraries Apache.NMS.ActiveMQ.dll and Apache.NMS.dll - Version 1.2.0

2010-02-08 Thread pshar...@sapient.com
Hi, We are in the process of using Apache NMS dll's for implementing Transactional handling. In version 1.2.0, there is support of RedeliveryPolicy class. But as mentioned on website 'http://activemq.apache.org' - The NMS 1.2.0 Client Releases are still in progress. Can anyone please confirm on

Re: New Perl STOMP Module

2010-02-08 Thread Aleksandar Ivanisevic
Lionel Cons writes: > I'm aware of the existence of Net::Stomp but this module does not > provide the functionality that we need and seems to be unsupported > (no reply from the maintainer). Heh, it is supported, kinda, you just have to be loud enough. Last time I wanted to add something to Net:

Re: Status SSL with ActiveMQ-CPP

2010-02-08 Thread Timothy Bish
On Mon, 2010-02-08 at 03:38 -0800, opernas wrote: > Hi all, > > > Im trying to use activemq-cpp to connect to activemq broker, but I need ssl > support. I know that there is one trunk with ssl support, but i think that > is not fully stable yet, is it? For all people who needs to implement c++ >

New Perl STOMP Module

2010-02-08 Thread Lionel Cons
For your information, I've uploaded today a new module to CPAN allowing a Perl client to interact with a STOMP server. I tested it against ActiveMQ and it seems to work fine. See: http://search.cpan.org/~lcons/Net-STOMP. This module provides an object oriented client interface to interact with se

Re: message store

2010-02-08 Thread Gary Tully
You may need to tune the maxBrowsePage size destination policy option. This is a limit on the amount of messages that the broker will bring into memory for a jms browser. Typically the broker will page in 200 messages at a time and 2*200 for a browser. The intention is to limit the impact of browsi

Status SSL with ActiveMQ-CPP

2010-02-08 Thread opernas
Hi all, Im trying to use activemq-cpp to connect to activemq broker, but I need ssl support. I know that there is one trunk with ssl support, but i think that is not fully stable yet, is it? For all people who needs to implement c++ client for jms, there are some workaround to do this? another l

Re: Session.setMessageListener not working in 5.3.2

2010-02-08 Thread Gary Tully
You can configure the destination prefetch on the broker configuration via a DestinationPolicy rather than on the destination in JNDI. Or on the connection factory. See: http://activemq.apache.org/what-is-the-prefetch-limit-for.html Prefetch 0 is useful for a polling consumer, a message is dispatc

Re: Session.setMessageListener not working in 5.3.2

2010-02-08 Thread colincrist
Hi Gary, Thanks for the workaround but this only works with synchronous consumers - when I use the same topic (obtained from JNDI in reality - unlike the code I shared) with an async consumer I get: javax.jms.JMSException: Illegal prefetch size of zero. This setting is not supported for asynch