Re: AMQ integration with JBoss - Failover to TCP when trying to use VM protocol

2010-04-23 Thread Tammer Salem
I am still having a problem of AMQ going to TCP/IP connectivity on fail-over even though I have VM protocol enabled. Has anyone seen this happen? On 14 April 2010 20:29, Tammer Salem wrote: > That is the config I have. > So this is the line from my ra.xml: > > > > > >

Re: ActiveMQ NMS duplicate NMSMessageIDs received

2010-04-23 Thread DAJ
I have opened a JIRA issue as suggested. Instead of sample code I pointed out where in the code base the actual problem is. Should be an easy fix unless I am missing something. https://issues.apache.org/activemq/browse/AMQNET-248 Previous Response < Timothy Bish wrote: > > Can you

Re: Broker hangs and cant restart it

2010-04-23 Thread alisenberg
Gary Tully wrote: > > A thread dump of the broker would help to diagnose what is going on. > > On 23 April 2010 14:44, alisenberg wrote: > >> >> >> bsnyder wrote: >> > >> > On Thu, Apr 22, 2010 at 9:25 PM, alisenberg >> wrote: >> >> >> >> This is the scenario: >> >> >> >> I open three web ad

Re: QueueBrowser in XA Transaction?

2010-04-23 Thread dnn
Gary Tully wrote: > > Ah, ok, so that exception is the only way you know that it is not > working... > an XASession is transacted so it does require an active XA transaction. > > Best post your entire spring context and maybe post to camel-users who > will > be more familiar with the tag > I

Re: QueueBrowser in XA Transaction?

2010-04-23 Thread Gary Tully
Ah, ok, so that exception is the only way you know that it is not working... an XASession is transacted so it does require an active XA transaction. Best post your entire spring context and maybe post to camel-users who will be more familiar with the tag On 23 April 2010 15:27, dnn wrote: > >

Re: Broker hangs and cant restart it

2010-04-23 Thread Gary Tully
A thread dump of the broker would help to diagnose what is going on. On 23 April 2010 14:44, alisenberg wrote: > > > bsnyder wrote: > > > > On Thu, Apr 22, 2010 at 9:25 PM, alisenberg wrote: > >> > >> This is the scenario: > >> > >> I open three web admin consoles and send 10.000 messages from

Re: ActiveMQ AJAX Problems

2010-04-23 Thread magellings
Thanks for your response Dejan. This makes sense regarding the Ajax call, and we'll look into this further. Do you have any idea why we'd be getting the exception when posting from Fiddler? The request is clearly making it to the ActiveMQ host in that case as the stack trace shows. Dejan Bosa

Re: QueueBrowser in XA Transaction?

2010-04-23 Thread dnn
Gary Tully wrote: > > this seems to be another case of > https://issues.apache.org/activemq/browse/AMQ-2659 and you also have a > valid > use case. > That's certainly an interesting bug, but I don't think it applies to me. An XA transaction definitely should have been started. The camel rout

Re: QueueBrowser in XA Transaction?

2010-04-23 Thread Gary Tully
this seems to be another case of https://issues.apache.org/activemq/browse/AMQ-2659 and you also have a valid use case. On 23 April 2010 14:35, dnn wrote: > > Is the QueueBrowser designed to be run inside an XA transaction? I keep > getting the following exception when calling the hasMoreElemen

Re: Broker hangs and cant restart it

2010-04-23 Thread alisenberg
bsnyder wrote: > > On Thu, Apr 22, 2010 at 9:25 PM, alisenberg wrote: >> >> This is the scenario: >> >> I open three web admin consoles and send 10.000 messages from each >> console >> at the same time. Each message is about 50k. I mark persistence. And all >> messages go to the same queue. Whe

QueueBrowser in XA Transaction?

2010-04-23 Thread dnn
Is the QueueBrowser designed to be run inside an XA transaction? I keep getting the following exception when calling the hasMoreElements() method: javax.jms.TransactionInProgressException: Cannot commit() inside an XASession at org.apache.activemq.ActiveMQXASession.commit(ActiveMQXASessi

KahaDB .log files are not cleaned up

2010-04-23 Thread RJtokenlanring
Hi, I'm using AMQ 5.3.0 and I see that there are a lot of .log files into kahadb data directory. Every message has a TTL with 1 hour of expire time and a DLQ is present and consumed. What's wrong? These log can be safely deleted? Best regards -- View this message in context: http://old.nabble

Re: Using FailoverTransport

2010-04-23 Thread Dejan Bosanac
Hi, you the normal JMS code for that (find any JMS tutorial on the topic). The only thing that is different in failover case is broker url you use (e.g failover:(tcp://primary:61616,tcp://secondary:61616)?randomize=false) See http://activemq.apache.org/failover-transport-reference.htm

Using FailoverTransport

2010-04-23 Thread Kalpana Jalawadi
Hi, Could anybody post a code snippet for acquiring a connection & session over a FailoverTransport. Thanks in advance. -- View this message in context: http://old.nabble.com/Using-FailoverTransport-tp28338986p28338986.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: 5.1.0 -> 5.3.1 upgrade questions.

2010-04-23 Thread Gary Tully
Two things to note. 1) The default persistence adapter in 5.3.1 is different from 5.1.0 so you will need to drain all persistence destinations before migration or explicitly configure a matching persistence adapter to maintain the existing state. 2) There have been a couple of wireformat (the clien

Re: ActiveMQ AJAX Problems

2010-04-23 Thread Dejan Bosanac
Hi, it looks to me that you're trying to access the server on another host. Bear in mind that Ajax employs same-origin policy and that you need to use some kind of cross-domain mechanism to make it work. Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesou