Correct way to call/access VMTransport.setAsyncQueueDepth() from BrokerService?

2007-10-04 Thread David Sitsky
I have an application which runs the embedded broker, and adds both the TCP and the VM transports. In my experiments, I noticed I needed to modify VMTransport.asyncQueueDepth to be larger than the default value of 2000. I noticed this field has a setAsyncQueueDepth() method, but it is not cl

Re: Using ApacheMQ with SJSAS

2007-10-04 Thread David Lloyd
Zarick, I've managed to make it work, my notes can be found here: http://www.nixstyle.net/moin/TechNotes/Random/ActivemqGenericraGlassfish Thanks for the notes -- I gave up attempting to get SJSAS to do what I wanted it to do primarily because I managed to replace JBoss' native message queu

RecoveryListenerAdapter - Message id ID... could not be recovered from the data store: WAS: [Duplicate message delivered to consumers on queue with kaha persistence]

2007-10-04 Thread David Sitsky
Hi Rob, I think I spoke too soon. While using AMQ store fixed the initial issue I was dealing with, it seems to have other issues in my application, where I see the following message before everything hangs: RecoveryListenerAdapter - Message id ID... could not be recovered from the data sto

Re: Using ApacheMQ with SJSAS

2007-10-04 Thread Rob Davies
Fantastic Zarick! If you could add it to the activemq,org wiki - http:// activemq.apache.org/connectivity.html - too that would be awesome! cheers, Rob On Oct 5, 2007, at 7:01 AM, Zarick Lau wrote: I've managed to make it work, my notes can be found here: http://www.nixstyle.net/moin/TechN

Re: Using ApacheMQ with SJSAS

2007-10-04 Thread Zarick Lau
I've managed to make it work, my notes can be found here: http://www.nixstyle.net/moin/TechNotes/Random/ActivemqGenericraGlassfish Cheers, Zarick On 10/2/07, David Lloyd <[EMAIL PROTECTED]> wrote: > > Hi There, > > > I want to be able to use ApacheMQ with SJSAS (or Glassfish), however I'm > not q

Re: Duplicate message delivered to consumers on queue with kaha persistence

2007-10-04 Thread Rob Davies
AMQ Store is the combination of the journal (which itself now uses Kaha) and Kaha to store message references cheers, Rob http://rajdavies.blogspot.com/ On Oct 4, 2007, at 8:04 PM, Daryl Richter wrote: On Oct 3, 2007, at 7:30 AM, Rob Davies wrote: Do you get the same using AMQ store (t

Re: Sending a byte[] in a message

2007-10-04 Thread Zagato
Hey... lot of thanks.. i was using only the set*Attribute from Message, but with setObject and getObject from ActiveMQObjectMessage and a "public class Test implements Serializable" with a byte[] attribute works perfect thanks !! Alan Jairo Acosta Univalle - Cali - Colombia On 10/3/07, Rob Da

Re: Duplicate message delivered to consumers on queue with kaha persistence

2007-10-04 Thread Daryl Richter
On Oct 3, 2007, at 7:30 AM, Rob Davies wrote: Do you get the same using AMQ store (the default in 5.0) - its the prefered store over kaha in ActiveMQ 5.0 Hmm. When I start a very recent (revision 581630) build of ActiveMQ with completely default config I get (among others) the following

Re: Web console for ActiveMQ 4.1.1 from remote box

2007-10-04 Thread tmccauley
I tried to find the posting talked about with no success. I am able to connect remotely using JConsole without a userName and password. If this is so what would be suggested the userName and password be. I am also able to connect using Hermes also without a userName and password. I would like

Re: Web console for ActiveMQ 4.1.1 from remote box

2007-10-04 Thread Mario Siegenthaler
Hi You can use the webconsole with 4.1.1. I think your issue is a bug in the trunk version that requires that you specify a jmx-username and password. There's a posting by me on the dev list that contains, among other, a path for this issue. If you can't find that posting just write me an email and

Web console for ActiveMQ 4.1.1 from remote box

2007-10-04 Thread tmccauley
All I am trying to get web console to connect and work on a remote box using Tomcat 5.5.23. I am tried to use the latest ActiveMQ 5 web console war with properties. Can the latest ActiveMQ 5 web console war be used to connect to a remote ActiveMQ 4.1.1 broker? If not how can I create an Act

Re: Crashing an AMQ producer in ~12 seconds

2007-10-04 Thread Rob Davies
This is now fixed in the lasted svn - there was a few things needed tidying up on the broker side too thanks, Rob On Oct 4, 2007, at 3:26 AM, WHIRLYCOTT wrote: Rob, thanks for looking into this. I'll provide a summary of what I found here for anybody out there doing searches who might run

Re: single broker + mysql + Attempting to acquire the exclusive lock to become the Master broker

2007-10-04 Thread James Strachan
Hopefully, ActiveMQ 5 will be out really soon! :) On 04/10/2007, j0llyr0g3r <[EMAIL PROTECTED]> wrote: > > Thx James, > > i upgraded to the latest snapshot and it works now. > > P.S.: > > Maybe there should a comment on the download page, that people who want to > use AMQ + mysql should __not__ ta

java.lang.NoSuchMethodError: org.apache.activemq.command.ConnectionInfo.isClientMaster()Z

2007-10-04 Thread jaspa
Hi, Can anyone help with the following error? java.lang.AbstractMethodError: org.apache.activemq.openwire.v2.BrokerInfoMarshaller.tightUnmarshal(Lorg/apache/activemq/openwire/OpenWireFormat;Ljava/lang/Object;Ljava/io/DataInputStream;Lorg/apache/activemq/openwire/BooleanStream;)V at org.a

Re: single broker + mysql + Attempting to acquire the exclusive lock to become the Master broker

2007-10-04 Thread j0llyr0g3r
Thx James, i upgraded to the latest snapshot and it works now. P.S.: Maybe there should a comment on the download page, that people who want to use AMQ + mysql should __not__ take the stable release but the snapshot.:-) Or am i the only having this problem? I only tested it with mysql 5, m

Re: deadlock in ActiveMQ 4.1.1 broker?

2007-10-04 Thread Eduardo Corral
Hi everyone Regarding this issue, we keep getting the deadlock: Found one Java-level deadlock: = "ActiveMQ Transport: tcp:///127.0.0.1:42001": waiting to lock monitor 0x01548790 (object 0x8cf573f8, a org.apache.activemq.transport.InactivityMonitor$2), which is hel

Exception during acknowlegement of message

2007-10-04 Thread Mykola
Hi all, We've got yesterday exception and I'd want to know what can cause it and what is the impact of it - was it called after message processing? - was it removed fro queue if we use JMS transaction? version of AMQ we use is 4.1.1 and operations says that more likely it was not processed sinc

Re: Duplicate message delivered to consumers on queue with kaha persistence

2007-10-04 Thread PieterN
PieterN wrote: > > This might be related to issue AMQ-1389, where I also see duplicate > messages when using the Kaha persistence adapter, although in a bit > different scenario. For me, the AMQ store works correctly as well, but I > still believe this is a bug in the Kaha adapter. > Sorry I ju

Re: Duplicate message delivered to consumers on queue with kaha persistence

2007-10-04 Thread PieterN
David Sitsky-2 wrote: > > Looks like the AMQ store works correctly - thanks for the advice. > This might be related to issue AMQ-1389, where I also see duplicate messages when using the Kaha persistence adapter, although in a bit different scenario. For me, the AMQ store works correctly as well