From usersohart@example.net Tue Dec 01 09:26:59 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 26555 invoked from network); 1 Dec 2009 09:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 09:26:58 -0000 Received: (qmail 13471 invoked by uid 500); 1 Dec 2009 09:26:58 -0000 Delivered-To: ohart@example.net Received: (qmail 13406 invoked by uid 500); 1 Dec 2009 09:26:57 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 13396 invoked by uid 99); 1 Dec 2009 09:26:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 09:26:57 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 09:26:54 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFP0D-0002Oo-FL for ohart@example.net; Tue, 01 Dec 2009 01:26:33 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 01:26:33 -0800 (PST) From: Asheesh Gupta <ohart@example.net> To: ohart@example.net Subject: Re: How to purge or Delete messages from ActiveMq Topic In-Reply-To: <ohart@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net References: <ohart@example.net> <ohart@example.net> Hi Gary, for logging the messages in the activemq Topic, i am log4j properties. Here is log4j properties file changes for topic logging. log4j.appender.jms=org.apache.log4j.net.JMSAppender log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory log4j.appender.jms.ProviderURL=tcp://localhost:61616 log4j.appender.jms.TopicBindingName=Topic log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory Could please tell me whether its possible to purge the messages using log4j properties? or is there any way to delete or purge the messages from topic? Thanks in advance. Asheesh -- View this message in context: http://old.nabble.com/How-to-purge-or-Delete-messages-from-ActiveMq-Topic-tp26526453p26588101.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 09:46:25 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 39740 invoked from network); 1 Dec 2009 09:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 09:46:24 -0000 Received: (qmail 37826 invoked by uid 500); 1 Dec 2009 09:46:24 -0000 Delivered-To: ohart@example.net Received: (qmail 37774 invoked by uid 500); 1 Dec 2009 09:46:23 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 37764 invoked by uid 99); 1 Dec 2009 09:46:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 09:46:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f215.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 09:46:13 +0000 Received: by bwz7 with SMTP id 7so2842352bwz.6 for <ohart@example.net>; Tue, 01 Dec 2009 01:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DmzfXWXhNA3LEBGX2hD/BfREByMY1ZMj29NkpRw9GvU=; b=tTlIY2UEDK4FboyFWIoyh5Cx4trnO+blLd2RebYdJpmzVEnWQV8LwwyytghOlp2n0e QkVe9YEaFCLcCzoaoFf2OaUOZcCadk8Qt6Zugyt8MgnHuTVUNldvQIXvG+gacfa8PDFV XmoPOf5fFU12ZDnoXshCkGvk1C7MtnSlJFEVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=PEWU2wH1NNHHOPqj8tdD+RKvSkbGWKVGBCvrfy8hQMG6gCrn2JPWPKjY1EBWCFigA+ nDmRDcT0EE+E/JmB/aS5xROn51vgDvo3EZATLCUupyd2V9gjlq4sFGO9ZapnIQ0ji8L4 xVLjs7lIEfEOZGjRuNasbtSvTFxJZ3oGwWCiU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i3mr897737bkw.26.1259660752555; Tue, 01 Dec 2009 01:45:52 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> <ohart@example.net> Date: Tue, 1 Dec 2009 09:45:52 +0000 Message-ID: <ohart@example.net> Subject: Re: How to purge or Delete messages from ActiveMq Topic From: Gary Tully <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=0015175cfaccb191150479a79fd0 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cfaccb191150479a79fd0 Content-Type: text/plain; charset=ISO-8859-1 you cannot do this with log4j config. You need to configure the discarding behavior on the broker. see: http://activemq.apache.org/slow-consumer-handling.html 2009/12/1 Asheesh Gupta <ohart@example.net> > > Hi Gary, > for logging the messages in the activemq Topic, i am log4j properties. > > Here is log4j properties file changes for topic logging. > > log4j.appender.jms=org.apache.log4j.net.JMSAppender > > log4j.appender.jms.InitialContextFactoryName=org.apache.activemq.jndi.ActiveMQInitialContextFactory > log4j.appender.jms.ProviderURL=tcp://localhost:61616 > log4j.appender.jms.TopicBindingName=Topic > log4j.appender.jms.TopicConnectionFactoryBindingName=ConnectionFactory > > > Could please tell me whether its possible to purge the messages using log4j > properties? > > or is there any way to delete or purge the messages from topic? > > > Thanks in advance. > > Asheesh > > > > -- > View this message in context: > http://old.nabble.com/How-to-purge-or-Delete-messages-from-ActiveMq-Topic-tp26526453p26588101.html > Sent from the ActiveMQ - User mailing list ohart@example.net. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --0015175cfaccb191150479a79fd0-- From usersohart@example.net Tue Dec 01 10:57:30 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 69896 invoked from network); 1 Dec 2009 10:57:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 10:57:30 -0000 Received: (qmail 40352 invoked by uid 500); 1 Dec 2009 10:57:29 -0000 Delivered-To: ohart@example.net Received: (qmail 40289 invoked by uid 500); 1 Dec 2009 10:57:29 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 40279 invoked by uid 99); 1 Dec 2009 10:57:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 10:57:29 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f224.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 10:57:26 +0000 Received: by ewy24 with SMTP id 24so5654056ewy.6 for <ohart@example.net>; Tue, 01 Dec 2009 02:57:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=zKM21gvSjFwOMxuLh0CM7LoEvzq3i+7rX7ZocW3hkpA=; b=VEDmv2POZ1LXYLFmFXbdBH05iVoHurjRlfItwfF6LIEHlTqFP5Z4gC9AGGKI8GhpCU VIB6PqbQfIr5GNyL1y0rBIQtvG0lfF+mimxh10/Ux61dqu9Gw/zaa37PojwKnI9WIURs ZJDTZIHKC/oGTQyf6pt7YTBYtM6lL/UZzrCEk= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=hysQN722e035uGc89gHyoQQPsbrGwflxubQiysT65U1gPL41p/a8NQQ8fs1iiZumIH QrD8WkILYVqmyuEBZ1Z79UxCJ5/TIt21O1mPiXUtrfgghbIiWAzZ25fwbBvNXTxdSTte 64VRdPtd81IsXTuk/m6s9FlT2VhDGC8Kgxj7c= MIME-Version: 1.0 Sender: ohart@example.net Received: by 83.161.120.155 with SMTP id g5mr2043373wef.168.1259665024792; Tue, 01 Dec 2009 02:57:04 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> Date: Tue, 1 Dec 2009 11:57:04 +0100 X-Google-Sender-Auth: ee0ec312eb53c107 Message-ID: <ohart@example.net> Subject: Re: Retroactive consumers are not working in 5.3.0 From: Dejan Bosanac <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=0016e6d99d7356c0540479a89ecd --0016e6d99d7356c0540479a89ecd Content-Type: text/plain; charset=ISO-8859-1 Hi Jeevan, all retroactive consumer related tests are passing http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/test/retroactive/ Can you provide a similar test case that is failing to you? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Nov 27, 2009 at 7:24 PM, jeevanpd <ohart@example.net>wrote: > > > Hi All, > > I have been using activemq 5.2.0 embeded working in a tomcat container. > Today I have used the new version 5.3.0 and my retroactive consumers > stopped > working. When I rolled back to 5.2.0, it started working. > > Is there any special set up for this compared to version 5.2.0. > > Helps much appreciated. > > Thanks, > Jeevan > > -- > View this message in context: > http://old.nabble.com/Retroactive-consumers-are-not-working-in-5.3.0-tp26545360p26545360.html > Sent from the ActiveMQ - User mailing list ohart@example.net. > > --0016e6d99d7356c0540479a89ecd-- From usersohart@example.net Tue Dec 01 12:23:04 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 92990 invoked from network); 1 Dec 2009 12:23:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 12:23:04 -0000 Received: (qmail 62824 invoked by uid 500); 1 Dec 2009 12:23:04 -0000 Delivered-To: ohart@example.net Received: (qmail 62758 invoked by uid 500); 1 Dec 2009 12:23:04 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 62747 invoked by uid 99); 1 Dec 2009 12:23:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:23:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:22:54 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFRkX-0007lb-Kb for ohart@example.net; Tue, 01 Dec 2009 04:22:33 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 04:22:33 -0800 (PST) From: Markus Schaber <ohart@example.net> To: ohart@example.net Subject: NMS Evaluation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm currently evaluating NMS / ActiveMQ, and some questions arised. - Does NMS support all features of ActiveMQ? - Does NMS support local outgoing queues (so my application does not block when the broker is not available)? For Java ActiveMQ, I think this could be emulated using a local broker and the vm: scheme, but I did not find any information about such a setup on NMS. - Does NMS work on the .NET compact framework and/or Mono? - The svn link to the C# stomp client on http://stomp.codehaus.org/DotNet seems broken (I get on an error page which allows me browsing, but no svn checkout), do you have the correct link? Thanks a lot, Markus -- View this message in context: http://old.nabble.com/NMS-Evaluation-tp26590892p26590892.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 12:35:39 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 97639 invoked from network); 1 Dec 2009 12:35:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 12:35:39 -0000 Received: (qmail 76608 invoked by uid 500); 1 Dec 2009 12:35:38 -0000 Delivered-To: ohart@example.net Received: (qmail 76554 invoked by uid 500); 1 Dec 2009 12:35:38 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 76544 invoked by uid 99); 1 Dec 2009 12:35:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:35:38 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 12:35:32 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFRwm-0000Ga-8u for ohart@example.net; Tue, 01 Dec 2009 04:35:12 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 04:35:12 -0800 (PST) From: sbasani <ohart@example.net> To: ohart@example.net Subject: Confirm the correct usage of "connectionFactoryNames" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net Hi, I am new to ActiveMQ, I have gone through http://activemq.apache.org/jndi-support.html and and gone through the "Example Java code". First they specified "connectionFactoryNames = connectionFactory, queueConnectionFactory, topicConnectionFactry" in jndi.properties. In this case as per the jndi key is "connectionFactoryNames" and value is "connectionFactory, queueConnectionFactory, topicConnectionFactry". But in "Example Java code" looking for "ConnectionFactory". Here "ConnectionFactory" is value in jndi.properties it's not a key. But example program and everything working fine. connectionFactory = (ConnectionFactory)jndiContext.lookup("ConnectionFactory"); Please let me know... what is the logic here???? Thanks. -- View this message in context: http://old.nabble.com/Confirm-the-correct-usage-of-%22connectionFactoryNames%22-tp26591001p26591001.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 13:58:16 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 37282 invoked from network); 1 Dec 2009 13:58:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 13:58:16 -0000 Received: (qmail 92380 invoked by uid 500); 1 Dec 2009 13:58:15 -0000 Delivered-To: ohart@example.net Received: (qmail 92322 invoked by uid 500); 1 Dec 2009 13:58:15 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 92312 invoked by uid 99); 1 Dec 2009 13:58:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 13:58:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 13:58:05 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFTEf-0007Ho-03 for ohart@example.net; Tue, 01 Dec 2009 05:57:45 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 05:57:44 -0800 (PST) From: kalki70 <ohart@example.net> To: ohart@example.net Subject: Re: Activemq-cpp and Message Groups malfunction In-Reply-To: <ohart@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net References: <ohart@example.net> X-Virus-Checked: Checked by ClamAV on apache.org kalki70 wrote: > > Hello, > > We are having a problem when using Activemq-cpp (version 2.2.6). This > problem happens with Stomp and Openwire. > We create thousands of message groups dynamically : Create a message > group, send several messages, close message group. The producer is a C++ > application, the consumer is two instances of JBoss in two different > machines. This "in general" works, but from time to time, in a random way, > the message group that is assigned to one instance of JBoss is switched to > the other instance, as if the previous one had failed. > Example : > * We send a message with some JMSXGroupId, it is sent to JBoss1 > * We send several more messages, they are received by JBoss1, as expected. > * We keep sending messages, but now they are received by JBoss2!!?? > > JBoss1 is all the time up and running. The garbage collector didn't work > during the test. This problem happens even with very low load, in a > randomly way. Just sometimes. When we put a very high load, so the > response time from JBoss increases, we start seeing many more of this > "unexpected switching". > We checked the messages sent, to check the JMSXGroupId and JMSXGroupSeq > (we even used a network sniffer to check them) and their values are right. > > It looks as if ActiveMQ considers JBoss1 dead, so it switches the message > groups to JBoss2. What is the criteria used by ActiveMQ to consider a > consumer "dead" ? Is there some configuration parameter to increase any > timeout waiting for acknowledge messages from consumers? > > The strangest part is that if we use a Java application as the producer, > it works perfect. There are never "unexpected switching". We compared the > message properties sent in Java and C++ and they are the same. > > We are so far completely ohart@example.net. > > Any idea? > > Thanks, > > Luis > No one has any idea about this problem? We are really stuck with it. May someone recommend some other broker that has a similar functionality, but actually works in C++ ??? Luis -- View this message in context: http://old.nabble.com/Activemq-cpp-and-Message-Groups-malfunction-tp26267750p26592182.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 14:13:21 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 44329 invoked from network); 1 Dec 2009 14:13:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 14:13:21 -0000 Received: (qmail 17959 invoked by uid 500); 1 Dec 2009 14:13:20 -0000 Delivered-To: ohart@example.net Received: (qmail 17885 invoked by uid 500); 1 Dec 2009 14:13:20 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 17870 invoked by uid 99); 1 Dec 2009 14:13:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:13:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f185.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:13:10 +0000 Received: by vws15 with SMTP id 15so1506142vws.27 for <ohart@example.net>; Tue, 01 Dec 2009 06:12:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=/MIbkL563NBlwlNhwDXOHtxjJRwLrT8ADQNeIivPd0g=; b=JL7MimjJcHe0W1kOzwI6YHvRDaMomU9+kbgbSddQoHoZH7F6ZhllpllA6FjDmL0wvj 7cGg7xngGBw0gnx5i1piWUQbZ0fh44hJkBaaXfDOUa/UKyqFFFKZoo0GVHDZff8iFb6o 6QByEDpIglbSBXKgWV4FeMQr+LUPWKWOq9PXU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=tmUTEFrQ1GihCy2kQjdE1rpk7V9nLkuU1HfN+y1qn4pAXriDyAkM2DpYYSp455QaQ4 J01fJ05KhjFw8xB3etCtQQ2yxsyHKxxTRT/UZNnY5OUfSuYZRWIUYDOJuXgVv7M94V9Z nOYuhQ65wJJV2QWU15VkBPoClUdQtGBPFaJ4g= Received: by 83.161.120.155 with SMTP id n2mr7033501vcr.11.1259676769256; Tue, 01 Dec 2009 06:12:49 -0800 (PST) Received: from ?83.161.120.155? (c-69-138-183-90.hsd1.va.comcast.net [83.161.120.155]) by mx.google.com with ESMTPS id 22sm260355vws.2.283.161.120.155.12.47 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 06:12:48 -0800 (PST) Subject: Re: Activemq-cpp and Message Groups malfunction From: Timothy Bish <ohart@example.net> To: ohart@example.net In-Reply-To: <ohart@example.net> References: <ohart@example.net> <ohart@example.net> Content-Type: text/plain Date: Tue, 01 Dec 2009 09:12:45 -0500 Message-Id: <1259676765.2891.0.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2009-12-01 at 05:57 -0800, kalki70 wrote: > > > kalki70 wrote: > > > > Hello, > > > > We are having a problem when using Activemq-cpp (version 2.2.6). This > > problem happens with Stomp and Openwire. > > We create thousands of message groups dynamically : Create a message > > group, send several messages, close message group. The producer is a C++ > > application, the consumer is two instances of JBoss in two different > > machines. This "in general" works, but from time to time, in a random way, > > the message group that is assigned to one instance of JBoss is switched to > > the other instance, as if the previous one had failed. > > Example : > > * We send a message with some JMSXGroupId, it is sent to JBoss1 > > * We send several more messages, they are received by JBoss1, as expected. > > * We keep sending messages, but now they are received by JBoss2!!?? > > > > JBoss1 is all the time up and running. The garbage collector didn't work > > during the test. This problem happens even with very low load, in a > > randomly way. Just sometimes. When we put a very high load, so the > > response time from JBoss increases, we start seeing many more of this > > "unexpected switching". > > We checked the messages sent, to check the JMSXGroupId and JMSXGroupSeq > > (we even used a network sniffer to check them) and their values are right. > > > > It looks as if ActiveMQ considers JBoss1 dead, so it switches the message > > groups to JBoss2. What is the criteria used by ActiveMQ to consider a > > consumer "dead" ? Is there some configuration parameter to increase any > > timeout waiting for acknowledge messages from consumers? > > > > The strangest part is that if we use a Java application as the producer, > > it works perfect. There are never "unexpected switching". We compared the > > message properties sent in Java and C++ and they are the same. > > > > We are so far completely ohart@example.net. > > > > Any idea? > > > > Thanks, > > > > Luis > > > > No one has any idea about this problem? We are really stuck with it. May > someone recommend some other broker that has a similar functionality, but > actually works in C++ ??? > > Luis > Have you tried newer versions of the Broker and C++ client? Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/ From usersohart@example.net Tue Dec 01 14:20:32 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 47729 invoked from network); 1 Dec 2009 14:20:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 14:20:32 -0000 Received: (qmail 29123 invoked by uid 500); 1 Dec 2009 14:20:31 -0000 Delivered-To: ohart@example.net Received: (qmail 29059 invoked by uid 500); 1 Dec 2009 14:20:31 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 29049 invoked by uid 99); 1 Dec 2009 14:20:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:20:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f215.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:20:20 +0000 Received: by bwz7 with SMTP id 7so3049156bwz.6 for <ohart@example.net>; Tue, 01 Dec 2009 06:20:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=cQXLFbE8ygV3JnHHl+FlGmQ58iLkUt+kGnXet2p/Es0=; b=b0ZjRmFvFHQ4WmtSZWOdwzm9imlzebJrDC1qe80OXPGteFxK7hdJbg+cAp6rtNG+UH 1rNfpU3jEbBNFwb7bW5u1O8uSAfT55Z6ZM9nRSOYGnj0HtOhb8ha7YFLfglvOTZEUOAV MjBd9iPd+F1PR6U4OAYn0N9IlW7Q2NhUHjiwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TyPdYz0BVkqkc7pnEynHfzS8wLxeMwYRgNo8/FuXb+zKaafa2ezKxQfCaisf+XTyaY aUg5/El3MWpZ3nv+Cc428FggFoc+6tXrfBtcvEV/52KKbLKFLV9iTEv+JDI5ffB6zAE1 eOqCXY3Zgg8rw2OMkalfwZ3CL2D3O5Sbm2RY0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c23mr1636723bkc.97.1259677200317; Tue, 01 Dec 2009 06:20:00 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> Date: Tue, 1 Dec 2009 14:20:00 +0000 Message-ID: <ohart@example.net> Subject: Re: Confirm the correct usage of "connectionFactoryNames" From: Gary Tully <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=0015175885c60e7f720479ab741c X-Virus-Checked: Checked by ClamAV on apache.org --0015175885c60e7f720479ab741c Content-Type: text/plain; charset=ISO-8859-1 there are some hard coded defaults that make the sample code work, have a look at the source: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/jndi/ActiveMQInitialContextFactory.java?view=markup In the properties file the connecitonFactoryNames property is commented out so the defaults are in effect. 2009/12/1 sbasani <ohart@example.net> > > Hi, > > I am new to ActiveMQ, I have gone through > http://activemq.apache.org/jndi-support.html and and gone through the > "Example Java code". > > First they specified > "connectionFactoryNames = connectionFactory, queueConnectionFactory, > topicConnectionFactry" > in jndi.properties. In this case as per the jndi key is > "connectionFactoryNames" and value is "connectionFactory, > queueConnectionFactory, topicConnectionFactry". > > But in "Example Java code" looking for "ConnectionFactory". Here > "ConnectionFactory" is value in jndi.properties it's not a key. But example > program and everything working fine. > > connectionFactory = > (ConnectionFactory)jndiContext.lookup("ConnectionFactory"); > > Please let me know... what is the logic here???? > > Thanks. > -- > View this message in context: > http://old.nabble.com/Confirm-the-correct-usage-of-%22connectionFactoryNames%22-tp26591001p26591001.html > Sent from the ActiveMQ - User mailing list ohart@example.net. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --0015175885c60e7f720479ab741c-- From usersohart@example.net Tue Dec 01 14:25:09 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 49879 invoked from network); 1 Dec 2009 14:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 14:25:09 -0000 Received: (qmail 40393 invoked by uid 500); 1 Dec 2009 14:25:07 -0000 Delivered-To: ohart@example.net Received: (qmail 40325 invoked by uid 500); 1 Dec 2009 14:25:07 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 40156 invoked by uid 99); 1 Dec 2009 14:25:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:25:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f185.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 14:24:56 +0000 Received: by vws15 with SMTP id 15so1510734vws.27 for <ohart@example.net>; Tue, 01 Dec 2009 06:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=65BvOKiWvMOPY4IKQA0d+WYFAlBQcSJR4+rVTsk1ceA=; b=PA6TRUUoje14v+0mwZYp7CAtRaoFSif8FK7IM6SWXnCyAXUE1/+gmse4QHmC0zxSqh gF2k9m0LFukmUuvaubs4cRw6k0rsyncn14N4WJJ8VrK60oqQXn2sf2Wp/vZKuDEYE8j6 RVD2da51h22aTUE8OBWOYBHPQeDly2Y6K9Bgs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=CgC06tlrCNqMHgDy8HVaAWp8/ejrpnn5PdRp3M1HHKrkuqS3F6f9C0R2aKBIjTvWUf SyBkDiQZFPk1VpnLv3WQxWXfK6Dj4gA02ml8U40/6SSmt6mTDi91zu1d3bd98ZIturTZ 2LYM0bbJV4MA8v5LMoOugfiWW7pYKkAxRCLnM= Received: by 83.161.120.155 with SMTP id e2mr6975969vcs.70.1259677475763; Tue, 01 Dec 2009 06:24:35 -0800 (PST) Received: from ?83.161.120.155? (c-69-138-183-90.hsd1.va.comcast.net [83.161.120.155]) by mx.google.com with ESMTPS id 22sm277653vws.2.283.161.120.155.24.34 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 06:24:34 -0800 (PST) Subject: Re: NMS Evaluation From: Timothy Bish <ohart@example.net> To: ohart@example.net In-Reply-To: <ohart@example.net> References: <ohart@example.net> Content-Type: text/plain Date: Tue, 01 Dec 2009 09:24:32 -0500 Message-Id: <1259677472.28468.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 2009-12-01 at 04:22 -0800, Markus Schaber wrote: > Hello, > > I'm currently evaluating NMS / ActiveMQ, and some questions arised. > > - Does NMS support all features of ActiveMQ? NMS.ActiveMQ is doesn't implement every feature that is available in the Broker. Which features are you looking for in the NMS client? > - Does NMS support local outgoing queues (so my application does not block > when the broker is not available)? For Java ActiveMQ, I think this could be > emulated using a local broker and the vm: scheme, but I did not find any > information about such a setup on NMS. No this is not a feature of NMS.ActiveMQ. > > - Does NMS work on the .NET compact framework and/or Mono? No, the NMS.ActiveMQ client doesn't run under .NETCF we are working on a Stomp version that will but it is not complete. NMS.ActiveMQ does run under Mono. > > - The svn link to the C# stomp client on http://stomp.codehaus.org/DotNet > seems broken (I get on an error page which allows me browsing, but no svn > checkout), do you have the correct link? > > Thanks a lot, > Markus Regards Tim. -- Tim Bish http://fusesource.com http://timbish.blogspot.com/ From usersohart@example.net Tue Dec 01 17:19:10 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 14976 invoked from network); 1 Dec 2009 17:19:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 17:19:10 -0000 Received: (qmail 5388 invoked by uid 500); 1 Dec 2009 17:19:09 -0000 Delivered-To: ohart@example.net Received: (qmail 5338 invoked by uid 500); 1 Dec 2009 17:19:09 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 5328 invoked by uid 99); 1 Dec 2009 17:19:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:19:09 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f213.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:19:01 +0000 Received: by fxm5 with SMTP id 5so4850455fxm.8 for <ohart@example.net>; Tue, 01 Dec 2009 09:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=8a5VaoYEwQRHG2fEAZyD/uo9rssRIg+LfOhJ56OCRzI=; b=ZdUByfqnvf40wdxiuRfV5nXVrLPddw4WVUxj6DKmTujAed7RyFmVAscCgVzO65vReR OVRkyboYpLrnQhBqA+N+bA753ZqLWFTbUMBdq+YCVppEhJ13vzq+zRa4J9GFz7LDWXKY UAXCZtP0neeIy5oL/0oUzxnbcONJ50XnqGwm8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=SfDUivcfI9mDPfg88NAXjA1TZw8eGyoeETJK7GfKzSxi8hr6FyY7Shl7gGl3TrfLqc tyG6xQdXxulbGWS2Mm7VZLryIvI74asK0O8KHdVqTJqGZJ1kPVxK4EW9W1sBLvDqyoHE ISD9w7BqpbFY4QhqPXYmUZRTHKih6FEBZ2jYc= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id m35mr542643hbg.175.1259687918236; Tue, 01 Dec 2009 09:18:38 -0800 (PST) Date: Tue, 1 Dec 2009 18:18:37 +0100 Message-ID: <ohart@example.net> Subject: How do I remove a queue in an embedded broker without having it listen on a tcp/ip port? From: Fred Moore <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=001485f7bf28e4f6780479adf2ea X-Virus-Checked: Checked by ClamAV on apache.org --001485f7bf28e4f6780479adf2ea Content-Type: text/plain; charset=ISO-8859-1 Hi folks, I have a completely embedded broker instance running in the same JVM as my JMS applications, all applications use a VM transport connector so the "TCP/IP footprint" (i.e. used ports) of this system is currently zero. Now my additional requirement is to be able to remove some [unused] broker queues programmatically via a new service application running in the same JVM as the broker. Is there a way of performing this simple operation without having my broker listening on a TCP/IP port (and consequently introducing the need for locking down admin access with security credentials management etc)? For instance this wiki http://activemq.apache.org/how-do-i-delete-a-destination.html points to JMX which -- AFAIK -- requires listening on TCP/IP to start with. I'm I missing something obvious here? Thanks in advance. Cheers, F. --001485f7bf28e4f6780479adf2ea-- From usersohart@example.net Tue Dec 01 17:35:46 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 25400 invoked from network); 1 Dec 2009 17:35:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 17:35:46 -0000 Received: (qmail 23644 invoked by uid 500); 1 Dec 2009 17:35:45 -0000 Delivered-To: ohart@example.net Received: (qmail 23584 invoked by uid 500); 1 Dec 2009 17:35:45 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 23574 invoked by uid 99); 1 Dec 2009 17:35:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:35:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:35:35 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFWOC-0004pz-Pd for ohart@example.net; Tue, 01 Dec 2009 09:19:48 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 09:19:48 -0800 (PST) From: kalki70 <ohart@example.net> To: ohart@example.net Subject: Re: Activemq-cpp and Message Groups malfunction MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org Timothy Bish wrote: > > On Tue, 2009-12-01 at 05:57 -0800, kalki70 wrote: >> >> >> kalki70 wrote: >> > >> > Hello, >> > >> > We are having a problem when using Activemq-cpp (version 2.2.6). This >> > problem happens with Stomp and Openwire. > ....... >> > >> >> No one has any idea about this problem? We are really stuck with it. May >> someone recommend some other broker that has a similar functionality, but >> actually works in C++ ??? >> >> Luis >> > > Have you tried newer versions of the Broker and C++ client? > > Regards > Tim. > > -- > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > We haven't tried a newer version of C++ client, which would be upgrading to ActiveMQ-CPP 3.x, as it implies some developing effort, not just recompiling the library. Also, there is no indication about a problem like this solved in 3.x. I may add that for what I see in forums, C++ is not widely used, so maybe this problem has not been detected before. We checked the messages, using the web administration tool for ActiveMQ and also with a sniffer, between messages sent from a Java client and from a C++ client, to be sure that they are the same, and this problem happens only with the C++ client. We thought that this could be related to the hash algorithm used in AMQ for Message groups (the value for JMSXGroupdId that we use is actually an UUID) so we changed the UUID algorithm used in C++ to the equivalent in Java, but the problem remains. Do you have any idea about when ActiveMQ decides to reassign a Message Group ? As I said before, when the consumer takes longer to respond, we see a lot more of these issues. I understand that JBoss doesn't acknowledge the messages when he consumes them, but when he finish processing them, and that can take long under load. Best regards, Luis -- View this message in context: http://old.nabble.com/Activemq-cpp-and-Message-Groups-malfunction-tp26267750p26594256.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 17:39:29 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 27064 invoked from network); 1 Dec 2009 17:39:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 17:39:29 -0000 Received: (qmail 29175 invoked by uid 500); 1 Dec 2009 17:39:28 -0000 Delivered-To: ohart@example.net Received: (qmail 29093 invoked by uid 500); 1 Dec 2009 17:39:28 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 29083 invoked by uid 99); 1 Dec 2009 17:39:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:39:28 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:39:25 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFWLA-0004gz-1K for ohart@example.net; Tue, 01 Dec 2009 09:16:40 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 09:16:40 -0800 (PST) From: kalki70 <ohart@example.net> To: ohart@example.net Subject: Re: Activemq-cpp and Message Groups malfunction In-Reply-To: <1259676765.2891.0.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net References: <ohart@example.net> <ohart@example.net> <1259676765.2891.0.camel@localhost> Timothy Bish wrote: > > On Tue, 2009-12-01 at 05:57 -0800, kalki70 wrote: >> >> >> kalki70 wrote: >> > >> > Hello, >> > >> > We are having a problem when using Activemq-cpp (version 2.2.6). This >> > problem happens with Stomp and Openwire. >> > We create thousands of message groups dynamically : Create a message >> > group, send several messages, close message group. The producer is a >> C++ >> > application, the consumer is two instances of JBoss in two different >> > machines. This "in general" works, but from time to time, in a random >> way, >> > the message group that is assigned to one instance of JBoss is switched >> to >> > the other instance, as if the previous one had failed. >> > Example : >> > * We send a message with some JMSXGroupId, it is sent to JBoss1 >> > * We send several more messages, they are received by JBoss1, as >> expected. >> > * We keep sending messages, but now they are received by JBoss2!!?? >> > >> > JBoss1 is all the time up and running. The garbage collector didn't >> work >> > during the test. This problem happens even with very low load, in a >> > randomly way. Just sometimes. When we put a very high load, so the >> > response time from JBoss increases, we start seeing many more of this >> > "unexpected switching". >> > We checked the messages sent, to check the JMSXGroupId and JMSXGroupSeq >> > (we even used a network sniffer to check them) and their values are >> right. >> > >> > It looks as if ActiveMQ considers JBoss1 dead, so it switches the >> message >> > groups to JBoss2. What is the criteria used by ActiveMQ to consider a >> > consumer "dead" ? Is there some configuration parameter to increase any >> > timeout waiting for acknowledge messages from consumers? >> > >> > The strangest part is that if we use a Java application as the >> producer, >> > it works perfect. There are never "unexpected switching". We compared >> the >> > message properties sent in Java and C++ and they are the same. >> > >> > We are so far completely ohart@example.net. >> > >> > Any idea? >> > >> > Thanks, >> > >> > Luis >> > >> >> No one has any idea about this problem? We are really stuck with it. May >> someone recommend some other broker that has a similar functionality, but >> actually works in C++ ??? >> >> Luis >> > > Have you tried newer versions of the Broker and C++ client? > > Regards > Tim. > > We haven't tried a newer version of C++ client, which would be upgrading > to ActiveMQ-CPP 3.x, as it implies some developing effort, not just > recompiling the library. Also, there is no indication about a problem like > this solved in 3.x. I may add that for what I see in forums, C++ is not > widely used, so maybe this problem has not been detected before. > We checked the messages, using the web administration tool for ActiveMQ > and also with a sniffer, between messages sent from a Java client and from > a C++ client, to be sure that they are the same, and this problem happens > only with the C++ client. > We thought that this could be related to the hash algorithm used in AMQ > for Message groups (the value for JMSXGroupdId that we use is actually an > UUID) so we changed the UUID algorithm used in C++ to the equivalent in > Java, but the problem remains. > > Do you have any idea about when ActiveMQ decides to reassign a Message > Group ? As I said before, when the consumer takes longer to respond, we > see a lot more of these issues. I understand that JBoss doesn't > acknowledge the messages when he consumes them, but when he finish > processing them, and that can take long under load. > > Best regards, > > Luis > > > > > > -- > Tim Bish > http://fusesource.com > http://timbish.blogspot.com/ > > > > > -- View this message in context: http://old.nabble.com/Activemq-cpp-and-Message-Groups-malfunction-tp26267750p26594256.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 17:41:46 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 28253 invoked from network); 1 Dec 2009 17:41:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 17:41:46 -0000 Received: (qmail 35659 invoked by uid 500); 1 Dec 2009 17:41:45 -0000 Delivered-To: ohart@example.net Received: (qmail 35585 invoked by uid 500); 1 Dec 2009 17:41:45 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 35554 invoked by uid 99); 1 Dec 2009 17:41:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:41:44 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:41:35 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFW1d-0003T6-5h for ohart@example.net; Tue, 01 Dec 2009 08:56:29 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 08:56:29 -0800 (PST) From: neillott <ohart@example.net> To: ohart@example.net Subject: Slow KahaDB access MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi, I know this question was posted earlier, but can anyone help here? http://old.nabble.com/slow-KahaDB-access-td26172918.html#a26216649 I'm seeing this in my activemq log: 2009-12-01 09:29:08,690 | INFO | Slow KahaDB access: cleanup took 9789 | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker 2009-12-01 09:30:36,376 | INFO | Slow KahaDB access: cleanup took 1298 | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker 2009-12-01 09:47:18,871 | INFO | Slow KahaDB access: cleanup took 14058 | org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal Checkpoint Worker When I benchmark the box I'm seeing this: [myserver] /usr/local/neil/activemq > java -classpath lib/kahadb-5.3.0.jar org.apache.kahadb.util.DiskBenchmark Benchmarking: /usr/local/neil/activemq/disk-benchmark.dat Writes: 128000 writes of size 4096 written in 18.521 seconds. 6911.0737 writes/second. 26.996382 megs/second. Sync Writes: 57936 writes of size 4096 written in 10.001 seconds. 5793.0205 writes/second. 22.628986 megs/second. Reads: 1960651 reads of size 4096 read in 10.001 seconds. 196045.5 writes/second. 765.80273 megs/second. What exactly do I need to do to get rid of the slow kahadb access messages? Thanks, Neil -- View this message in context: http://old.nabble.com/Slow-KahaDB-access-tp26594249p26594249.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 17:51:29 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 34226 invoked from network); 1 Dec 2009 17:51:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 17:51:28 -0000 Received: (qmail 56479 invoked by uid 500); 1 Dec 2009 17:51:28 -0000 Delivered-To: ohart@example.net Received: (qmail 56428 invoked by uid 500); 1 Dec 2009 17:51:28 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 56418 invoked by uid 99); 1 Dec 2009 17:51:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:51:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 17:51:18 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFVed-0002HS-MQ for ohart@example.net; Tue, 01 Dec 2009 08:32:43 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 08:32:43 -0800 (PST) From: Marshall Schor <ohart@example.net> To: ohart@example.net Subject: license for javax.jms... and javax.management.... classes distributed with main activemq jar? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net X-Virus-Checked: Checked by ClamAV on apache.org Hi - We're trying to figure out how to properly license a distribution where we are including the apache-activemq-x.x.x.jar. This jar includes javax.jms... and javax.management... classes. Are these licensed under the Apache 2.0 license, or is a separate license needed for them? I couldn't find any information in the license file in the binary distribution for these files, which appear to be part of the J2EE java platform. Thanks. -Marshall Schor -- View this message in context: http://old.nabble.com/license-for-javax.jms...-and-javax.management....-classes-distributed-with-main-activemq-jar--tp26594242p26594242.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 18:17:37 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 48657 invoked from network); 1 Dec 2009 18:17:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 18:17:37 -0000 Received: (qmail 93758 invoked by uid 500); 1 Dec 2009 18:17:36 -0000 Delivered-To: ohart@example.net Received: (qmail 93688 invoked by uid 500); 1 Dec 2009 18:17:36 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 93678 invoked by uid 99); 1 Dec 2009 18:17:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:17:36 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f215.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:17:25 +0000 Received: by bwz7 with SMTP id 7so3323284bwz.6 for <ohart@example.net>; Tue, 01 Dec 2009 10:17:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=4RNGn9a8ET4HcFAi5wpnsYEfVm+o+tdbPtQJpG5Cquc=; b=GMcz556gL5LxfAr9nLDdqlA3yFWyKSBC0shi+PWSVro96RQi4GSpdtPcQcxDLrGVvb 0NrnLBMQaopq+/2BNQpzl3YfHAyZfYM6bRc/Cdb1ukVwVWNvp2HBHV9sxu2ufzZk7aw4 W+wkJFo6tXzJWtvPble8hYpBbMdGSh62ZZ1KQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lJOaXtpOUMNRHVYdsDACsC06XArQTCZsJZkP39GX7z0yFVEg7X75DXNEDIRExO25rJ Sf1H5jAKx0qUFbB67DndAPKEUjwdbP2km6O528gIOPAVuqWMyw0sUmaqcbQcX4CvyO9L pERXeWVB1tf32l42MH7sSDynz2arfDpDpdIZU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i27mr6026325bkw.155.1259691425424; Tue, 01 Dec 2009 10:17:05 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> Date: Tue, 1 Dec 2009 18:17:05 +0000 Message-ID: <ohart@example.net> Subject: Re: license for javax.jms... and javax.management.... classes distributed with main activemq jar? From: Gary Tully <ohart@example.net> To: ohart@example.net Content-Type: multipart/alternative; boundary=00151761ca58f065de0479aec3dd X-Virus-Checked: Checked by ClamAV on apache.org --00151761ca58f065de0479aec3dd Content-Type: text/plain; charset=ISO-8859-1 those come from geronimo-j2ee-management_1.0_spec, the geronimo distribution of those j2ee apis that is Apache licensed. You may be able to find some historical detail in the geronimo mail archives. 2009/12/1 Marshall Schor <ohart@example.net> > > Hi - > > We're trying to figure out how to properly license a distribution where we > are including the apache-activemq-x.x.x.jar. > > This jar includes javax.jms... and javax.management... classes. > > Are these licensed under the Apache 2.0 license, or is a separate license > needed for them? I couldn't find any information in the license file in > the > binary distribution for these files, which appear to be part of the J2EE > java platform. > > Thanks. -Marshall Schor > -- > View this message in context: > http://old.nabble.com/license-for-javax.jms...-and-javax.management....-classes-distributed-with-main-activemq-jar--tp26594242p26594242.html > Sent from the ActiveMQ - User mailing list ohart@example.net. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --00151761ca58f065de0479aec3dd-- From usersohart@example.net Tue Dec 01 18:30:20 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 55837 invoked from network); 1 Dec 2009 18:30:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 18:30:19 -0000 Received: (qmail 15637 invoked by uid 500); 1 Dec 2009 18:30:19 -0000 Delivered-To: ohart@example.net Received: (qmail 15597 invoked by uid 500); 1 Dec 2009 18:30:19 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 15587 invoked by uid 99); 1 Dec 2009 18:30:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:30:19 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 18:30:16 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <ohart@example.net>) id 1NFXU4-0003de-4u for ohart@example.net; Tue, 01 Dec 2009 10:29:56 -0800 Message-ID: <ohart@example.net> Date: Tue, 1 Dec 2009 10:29:56 -0800 (PST) From: kalki70 <ohart@example.net> To: ohart@example.net Subject: Re: Activemq-cpp and Message Groups malfunction In-Reply-To: <ohart@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ohart@example.net References: <ohart@example.net> <ohart@example.net> <1259676765.2891.0.camel@localhost> <ohart@example.net> kalki70 wrote: > > ................. > Do you have any idea about when ActiveMQ decides to reassign a Message > Group ? As I said before, when the consumer takes longer to respond, we > see a lot more of these issues. I understand that JBoss doesn't > acknowledge the messages when he consumes them, but when he finish > processing them, and that can take long under load. > > Best regards, > > Luis > Oh, this is very bad. We just came across a scenario where there are more messages than usual for the same message group, and this is what happens : * First message for message group is assigned to JBoss1 and processed * Next messages are processed by JBoss1. OK. * A commutation occurred, messages are now being delivered to JBoss2. This is wrong. * Commutation occurred AGAIN!!! Now messages are delivered to JBoss1 again!! Horrible!! As before, this doesn't happen always, it is random. I don't understand why nobody else sees this problem. Maybe it has to do with opening and closing a lot of Message Groups? Atte., Luis Rojas -- View this message in context: http://old.nabble.com/Activemq-cpp-and-Message-Groups-malfunction-tp26267750p26596735.html Sent from the ActiveMQ - User mailing list ohart@example.net. From usersohart@example.net Tue Dec 01 19:37:58 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 83074 invoked from network); 1 Dec 2009 19:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 19:37:57 -0000 Received: (qmail 30680 invoked by uid 500); 1 Dec 2009 19:37:57 -0000 Delivered-To: ohart@example.net Received: (qmail 30648 invoked by uid 500); 1 Dec 2009 19:37:57 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 30629 invoked by uid 99); 1 Dec 2009 19:37:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 19:37:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ohart@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f213.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 19:37:46 +0000 Received: by fxm5 with SMTP id 5so5010342fxm.8 for <ohart@example.net>; Tue, 01 Dec 2009 11:37:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7arNnsfIruWMOGA8k4L+A7x8pCx+096GscikwdmOZpM=; b=Sm+tGNeKH5wqO/cAteI/PaYkj4QUDGFLxdIQbSpUYGQ1mbMrR0ecQnl3az8I6MGRR/ 2coQWBzPJph7eL5y7JO8WywqioXsiwMtod/LpUhAk5hKLlX3E6PnbHAGeMxMpn8PAxL8 5LQbAd78Uyqm09DfRIZfbwQbillrtuHgvnDN4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IK16wZzhWvRyciVtYFWBCTxB1Bl2tmRMYvuu0Bku5eIQa+922lk8VfF3ZaSguufPBm Iht0n1noCxLTG1ti+NrHe/1tB+vwPK/LOsms3hLHJ2Zf+OEOC4BUlQdbzKzQMVpzo6GK 5n9egU49S+Eo+zK50uxYhmWil+Oj/stQppR4o= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w1mr982479fak.46.1259696245813; Tue, 01 Dec 2009 11:37:25 -0800 (PST) In-Reply-To: <ohart@example.net> References: <ohart@example.net> Date: Tue, 1 Dec 2009 12:37:25 -0700 Message-ID: <ohart@example.net> Subject: Re: license for javax.jms... and javax.management.... classes distributed with main activemq jar? From: Bruce Snyder <ohart@example.net> To: ohart@example.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Dec 1, 2009 at 9:32 AM, Marshall Schor <ohart@example.net> wrote: > > Hi - > > We're trying to figure out how to properly license a distribution where w= e > are including the apache-activemq-x.x.x.jar. > > This jar includes javax.jms... and javax.management... classes. > > Are these licensed under the Apache 2.0 license, or is a separate license > needed for them? =A0I couldn't find any information in the license file i= n the > binary distribution for these files, which appear to be part of the J2EE > java platform. Those spec implementations are from the Geronimo specs project (https://svn.apache.org/repos/asf/geronimo/specs/) and utilize the Apache License 2.0. As Gary pointed out, the javax.management spec classes come from the geronimo-j2ee-management impl here: https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-j2ee-managem= ent_1.1_spec/ And the javax.jms spec classes come from the geronimo-jms impl here: https://svn.apache.org/repos/asf/geronimo/specs/trunk/geronimo-jms_1.1_spec= / See the LICENSE files for each project in the SVN repo URLs above. The spec classes appear to be part of the J2EE platform because they're interfaces for J2EE/Java EE specs which were implemented by the Geronimo team and are licensed using the Apache License. All of which is 100% legal. Bruce --=20 perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=3D6-E+G-N>61E<D\!G;6%I= ;\"YC;VT*" );' ActiveMQ in Action: http://bit.ly/2je6cQ Blog: http://bruceblog.org/ Twitter: http://twitter.com/brucesnyder From usersohart@example.net Tue Dec 01 21:44:03 2009 Return-Path: <usersohart@example.net> Delivered-To: ohart@example.net Received: (qmail 28170 invoked from network); 1 Dec 2009 21:44:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Dec 2009 21:44:03 -0000 Received: (qmail 14469 invoked by uid 500); 1 Dec 2009 21:44:03 -0000 Delivered-To: ohart@example.net Received: (qmail 14413 invoked by uid 500); 1 Dec 2009 21:44:02 -0000 Mailing-List: contact ohart@example.net; run by ezmlm Precedence: bulk List-Help: <mailto:ohart@example.net> List-Unsubscribe: <mailto:ohart@example.net> List-Post: <mailto:ohart@example.net> List-Id: <users.activemq.apache.org> Reply-To: ohart@example.net Delivered-To: mailing list ohart@example.net Received: (qmail 14403 invoked by uid 99); 1 Dec 2009 21:44:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 21:44:02 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of ohart@example.net) Received: from [83.161.120.155] (HELO mxout-07.mxes.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Dec 2009 21:44:00 +0000 Received: from [83.161.120.155] (unknown [83.161.120.155]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0CACA22E259 for <ohart@example.net>; Tue, 1 Dec 2009 16:43:36 -0500 (EST) From: "Geir Magnusson Jr." <ohart@example.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Producer flow control and hard lockup of 5.3.0 Date: Tue, 1 Dec 2009 16:43:36 -0500 Message-Id: <ohart@example.net> To: ohart@example.net Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) I'm doing some simple stress experiments and am able to lockup 5.3.0. I = have a simple producer and consumer as described below. The queue is = non-perstent, moving small text messages. Flailing about, I've set my = producer window size to 1024000. Upshot is that I can flood the queue for about 250k to 300k messages = overall, and the producer eventually gets stopped. THe consumer seems = to get all of them, at least according to the console which shows 0 = messages in queue, eventually. At this point, the producer never starts again, and even bouncing the = producer doesn't get messages flowing again. The only thing that works = is bouncing the broker, but clearly that's a crappy solution. What am I doing wrong? geir Producer - single one, thread... ActiveMQConnectionFactory factory =3D new = ActiveMQConnectionFactory("tcp://83.161.120.155:61616"); factory.setProducerWindowSize(1024000); Connection connection =3D factory.createConnection(); connection.start(); Session session =3D connection.createSession(false, = Session.AUTO_ACKNOWLEDGE); Queue queue =3D session.createQueue("svc"); MessageProducer producer =3D session.createProducer(queue); producer.setDeliveryMode(DeliveryMode.NON_PERSISTENT); while(true) { while(true) { TextMessage tm =3D = session.createTextMessage(theMessage); producer.send(tm); } } That simply floods the queue with small text messages. On the consumer side, I have 15 threads, each of which does something = like :=20 ActiveMQConnectionFactory factory =3D new = ActiveMQConnectionFactory(_brokerURL); _connection =3D factory.createConnection(); Session _session =3D _connection.createSession(false, =
{'source': 'Apache Software Foundation Public Mail Archives'}