Re: Message stuck on queue(Production Issue)

2011-06-09 Thread KRISHNADASANTS
I will give my activemq.xml content here, http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/sc

Message stuck on queue(Production Issue)

2011-06-09 Thread KRISHNADASANTS
hi, message sent by a particular producer(web application) is stuck for some time (20 to 40 sec) in the queue.After a delay it is consumed.It is happening in our production system we can not reproduce it in development. producer is using fail-over tcp transport.messages sent by other producers in

Re: help needed: heap corruption when activemq-cpp routines called

2011-06-09 Thread Ivan Pechorin
2011/6/9 Ken Moore : >> >> Yes, that was definiately part of the problem. Also I had not used the >> correct macros for checked iterators in the STL, to be consistent with the >> rest of our build. It is all working now. Many thanks for your help >> > Can you tell me what macros you corrected to so

Re: Connection problem in using Activemq-CPP

2011-06-09 Thread Radha Manickam
Hi Tim, The broker is running in the specified port. But the sample given with activemq-cpp is running fine. The only difference is that my sample is an executable. The activemq sample output is in text format. Thanks, Radha. On Thu, Jun 9, 2011 at 8:13 PM, Timothy Bish [via ActiveMQ] < ml-node+

Re: PageFile is not loaded on the client (using scheduler)

2011-06-09 Thread TheFarmer
https://issues.apache.org/jira/browse/AMQ-3131 -- View this message in context: http://activemq.2283324.n4.nabble.com/PageFile-is-not-loaded-on-the-client-using-scheduler-tp3585892p3587018.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Not able to load-balance messages in a cluster using PrefetchPolicy

2011-06-09 Thread joe smith
Hi Martin, We use springframework for the listener and the listener container - we did not set the listener/container to be exclusive - not sure if you can do so in spring.  However, I don't know if that is a default setting in spring - will look into it. We don't use message group either - so

Re: bridge HornetQ and ActiveMQ

2011-06-09 Thread Mark W
Thanks for the info and yes, I understand what you are saying. Problem is that I cannot figure out how to build a HornetQ connection factory. After spending some time with HornetQ, it makes me appreciate ActiveMQ more.. ;) On Thu, Jun 9, 2011 at 10:47 AM, Torsten Mielke wrote: > In the simples

Message Eviction Strategy

2011-06-09 Thread Robin.Fago
I am having trouble setting up a Message Eviction strategy for my policy entry. I would like to drop messages once we hit a memory limit for a flood of messages. Instead, I am seeing the broker fail due to heap space. It is currently at 256mb. Here is the policy entry:

Durable subscriptions not surviving network disconnect

2011-06-09 Thread Joe Niski
i'm encountering a problem in our production environment that i can reproduce in an integration-testing setup. Durable topic subscriptions do not fully reconnect after an interruption in network connectivity, even though the ActiveMQ brokers re-establish their connection and messages flow acros

Re: Not able to load-balance messages in a cluster using PrefetchPolicy

2011-06-09 Thread Martin C.
Hi, just as further input: have you checked you didn't declare an exclusive consumer and you didn't use message groups? Best regards, Martin On Thu, Jun 9, 2011 at 4:38 PM, joe smith wrote: > Hi Edan, > > Yes.  with the springframework's PrefetchPolicy bean, I've used both values.  > Unfortuna

PageFile is not loaded on the client (using scheduler)

2011-06-09 Thread eweinberg
I'm running activeMq 5.5 and am using the scheduling support. I'm running 4 activeMq brokers with identical configurations and 3 out of 4 are working fine. On the 4th one, in my client application I'm seeing: javax.jms.JMSException: PageFile is not loaded at org.apache.activemq.util.JMSE

Re: help needed: heap corruption when activemq-cpp routines called

2011-06-09 Thread Ken Moore
Andrew Marlow writes: > > Yes, that was definiately part of the problem. Also I had not used the > correct macros for checked iterators in the STL, to be consistent with the > rest of our build. It is all working now. Many thanks for your help > > On Wed, Jul 14, 2010 at 3:35 AM, jolly.Wang w

Re: bridge HornetQ and ActiveMQ

2011-06-09 Thread Torsten Mielke
In the simplest form you could use a Camel route similar to this: and also declare the two endpoints in your camel-context.xml: Hope you get the idea. Torsten Mielke FuseSource tmielke.blogspot.com

Re: Connection problem in using Activemq-CPP

2011-06-09 Thread Timothy Bish
On Wed, 2011-06-08 at 21:38 -0700, Radha Manickam wrote: > Hi Tim, > > I didnt get any error. But the sample application i hanging somewhere. > So I have added some debug strings in the activemq library and tried. > > It is hanging in the method Connection->Start. > After some debugging i found

RE: Not able to load-balance messages in a cluster using PrefetchPolicy

2011-06-09 Thread joe smith
Hi Edan, Yes.  with the springframework's PrefetchPolicy bean, I've used both values.  Unfortunately, the msgs were still queued within a listener container bounded a single broker.  The msgs were not re-distributed to the other 2 listen containers (which were idle) bounded to the other 2 broke

SLF4J error deploying ActiveMQ RA 5.5.0 on Glassfish 3.1 !

2011-06-09 Thread guerra
Hi, I've came across with a deployment problem on Glassfish 3.1 and the new ActiveMQ RA 5.5.0. It seems that the dependency with SLF4J is kinda difficult to satisfy. Whenever try to do, I got the same problem around org.slf4j.LoggerFactory. asadmin> deploy --libraries slf4j-api-1.5.11.jar,slf4j-

Re: Transaction not started XA problems

2011-06-09 Thread James Black
Hi ok the problems seems to be that the connection is getting dropped by the ActiveMQ broker on the server. I have now verified that the issue occurs when ActiveMQ runs out of heap available. I have ran two specific tests. Note: Although these tests do not allocate that much heap to AMQ we have

activeMq customer listener slowly

2011-06-09 Thread XIAOZHIPING
Hi all, I use this config for my activeMq customer in order to reserve message from broker; it was Works perfect, Today I use a large numbers of threads to send messages to the broker,then the customer thrown some exceptions: $1.onCommand(TransportCon

Message Forwarding to another datacenter

2011-06-09 Thread oseymen
Hi all, What is the preferred way to reliably forward messages from an AMQ broker in one datacenter (DC1) to another AMQ in another datacenter (DC2)? Is it network of brokers - like: OR by using jmsBridge between two brokers in each datacenter? Cheers, Oza