Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2826CBD22 for ; Thu, 12 Jan 2012 14:03:33 +0000 (UTC) Received: (qmail 90097 invoked by uid 500); 12 Jan 2012 14:03:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 89775 invoked by uid 500); 12 Jan 2012 14:03:24 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 89766 invoked by uid 99); 12 Jan 2012 14:03:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2012 14:03:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chirino@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-ww0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2012 14:03:16 +0000 Received: by wgbed3 with SMTP id ed3so218923wgb.2 for ; Thu, 12 Jan 2012 06:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=w5Soj5zMUI6BieXrp2v7soxb9QHTQ/UdAZyCdqVx1Vw=; b=rpu1FJkNNXt1yOm6bYTNVR6i9srJAVgKKXGs5naYJdlIUTrAYhVmZ6kdqPP76gVcSG EM7wUiCbIlTvufjcdGW5xUJKRKbCavZoKcBJbGQoES0ltDgXuFlHgrFwqsdZ+MLMKBvg gTSiuTANMhRsazJPccPKVovQH/7VaBQjTfTbk= MIME-Version: 1.0 Received: by 10.180.93.168 with SMTP id cv8mr576370wib.2.1326376975360; Thu, 12 Jan 2012 06:02:55 -0800 (PST) Sender: chirino@gmail.com Received: by 10.216.35.21 with HTTP; Thu, 12 Jan 2012 06:02:55 -0800 (PST) In-Reply-To: <8727B6255C6CAA488D9925D26C46B0E54AD030@AMSPRD0502MB116.eurprd05.prod.outlook.com> References: <8727B6255C6CAA488D9925D26C46B0E54ACFC0@AMSPRD0502MB116.eurprd05.prod.outlook.com> <1325867707.2324.6.camel@OfficePC> <8727B6255C6CAA488D9925D26C46B0E54ACFE7@AMSPRD0502MB116.eurprd05.prod.outlook.com> <1325868632.2324.9.camel@OfficePC> <8727B6255C6CAA488D9925D26C46B0E54AD001@AMSPRD0502MB116.eurprd05.prod.outlook.com> <8727B6255C6CAA488D9925D26C46B0E54AD018@AMSPRD0502MB116.eurprd05.prod.outlook.com> <8727B6255C6CAA488D9925D26C46B0E54AD030@AMSPRD0502MB116.eurprd05.prod.outlook.com> Date: Thu, 12 Jan 2012 09:02:55 -0500 X-Google-Sender-Auth: 5aRrIRX6L2TL56KSvXG7bH9Mjcw Message-ID: Subject: Re: Help with Apache NMS and Apache Apollo From: Hiram Chirino To: users@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Dave, First off, if your running apollo on windows, I recommend you switch the persistence mechanism from using leveldb to using bdb. The leveldb implementation on windows is still very buggy. You can find more info on how to switch it at: http://activemq.apache.org/apollo/documentation/getting-started.html#Switch= ing_to_the_BDB_Store Regards, Hiram FuseSource Web: http://fusesource.com/ On Fri, Jan 6, 2012 at 1:00 PM, Dave Thompson wrote: > Tim, > > I've now managed to get it working. The scary thing is I have absolutely = no idea why it's just started functioning. The only thing I changed was to = ramp up the log level, delete the data directory and restart it. > > Do you, or anyone else on this channel have any idea why I'd get the inte= rmittent behaviour? It's very odd - I've tried with the SSL connection as w= ell and the same thing happened - one moment it wouldn't work, then 3 minut= es later it would! > > Any help is very much appreciated. > > Thanks, > > Dave > > -----Original Message----- > From: Dave Thompson [mailto:dave.thompson@elmbridgetech.com] > Sent: 06 January 2012 17:06 > To: users@activemq.apache.org > Subject: RE: Help with Apache NMS and Apache Apollo > > Tim, > > I'm still having the same issue with the latest version of the libraries.= After pulling up the code, it looks like the socket connection is being se= vered the minute StompWireFormat.Unmarshal is called. > > I would guess this is the server disconnecting me for some reason - but I= see nothing in the server log files, even when I've set the log4net config= file in my local broker to DEBUG... do you know if I'd see that or not? > > Thanks, > > Dave > > -----Original Message----- > From: Dave Thompson [mailto:dave.thompson@elmbridgetech.com] > Sent: 06 January 2012 16:54 > To: users@activemq.apache.org > Subject: RE: Help with Apache NMS and Apache Apollo > > Tim, > > Thanks very much. I'll download that and try it out. > > Just for reference purposes - is there any documentation or sample code f= loating around for a STOMP connection, or is it just a case of trial and er= ror? > > Thanks, > > Dave > > -----Original Message----- > From: Timothy Bish [mailto:tabish121@gmail.com] > Sent: 06 January 2012 16:51 > To: users@activemq.apache.org > Subject: RE: Help with Apache NMS and Apache Apollo > > On Fri, 2012-01-06 at 16:42 +0000, Dave Thompson wrote: >> Tim, >> >> Thanks for your response! >> >> I'm currently using NMS 1.5.1 and Apollo 1.0-beta6 - does that sound lik= e the correct versions? I assume they should chatter quite happily between = themselves even though NMS only supports STOMP 1.0... >> >> I do wonder whether there's anything else I need to consider as I'm runn= ing this under Windows 7 x64 with the x64 JDK... specifically, I need to de= lete the Data directory of my broker instance every time I restart or I get= =A0an error when restarting the broker - ERROR | Store client startup fail= ure: java.lang.NoClassDefFoundError: org/xerial/snappy/Snappy. >> >> Thanks very much for your help... >> >> Dave > > There were some fixes in Stomp v1.5.2 that you need, download that and it= should work. > > Regards > Tim. > > >> >> -----Original Message----- >> From: Timothy Bish [mailto:tabish121@gmail.com] >> Sent: 06 January 2012 16:35 >> To: users@activemq.apache.org >> Subject: Re: Help with Apache NMS and Apache Apollo >> >> On Fri, 2012-01-06 at 16:04 +0000, Dave Thompson wrote: >> > Hello all, >> > >> > Is there any documentation available for trying to connect Apache NMS = to Apache Apollo? I'm trying my hardest to do this myself, but NMS just won= 't connect to the broker, giving a "Unable to read data from the transport = connection: An existing connection was forcibly closed by the remote host" = when trying to create a consumer. >> > >> > Can anyone please point me in the direction of a sample? I can't >> > believe I'm the only person to have ever done this :) >> > >> > Thanks very much in advance, >> > >> > Dave >> >> Are you using Apache.NMS.Stomp v1.5.2 ? =A0Apollo supports Stomp right n= ow, the openwire bits are still unstable. >> >> Regards >> >> >> -- >> Tim Bish >> ------------ >> FuseSource >> Email: tim.bish@fusesource.com >> Web: http://fusesource.com >> Twitter: tabish121 >> Blog: http://timbish.blogspot.com/ >> >> >> >> > > >