Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 62667 invoked from network); 9 Sep 2009 19:20:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 19:20:52 -0000 Received: (qmail 44905 invoked by uid 500); 9 Sep 2009 19:20:51 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44862 invoked by uid 500); 9 Sep 2009 19:20:51 -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 44852 invoked by uid 99); 9 Sep 2009 19:20:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 19:20:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 19:20:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MlSiJ-0002uX-Qi for users@activemq.apache.org; Wed, 09 Sep 2009 12:20:19 -0700 Message-ID: <25371640.post@talk.nabble.com> Date: Wed, 9 Sep 2009 12:20:19 -0700 (PDT) From: magellings To: users@activemq.apache.org Subject: Re: Getting negative number of pending messages In-Reply-To: <3a73c17c0909091104q5b2ffd1h4fe7579eb6897017@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mark.gellings@qg.com References: <22106707.post@talk.nabble.com> <25295148.post@talk.nabble.com> <25299721.post@talk.nabble.com> <8D4FBEB6-66A9-497C-87FB-229E81BB4613@gmail.com> <25369349.post@talk.nabble.com> <3a73c17c0909091104q5b2ffd1h4fe7579eb6897017@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Using the wild-card address allowed the producers to connect. I'm getting a lot of exceptions in the activemq.log however with 5.3 so I can't test this. It is very slow too. I guess this isn't surprising if exceptions are occurring. I uploaded the activemq.log and a detailed NMS producer/consumer log. Possibly this is something with the NMS provider? http://www.nabble.com/file/p25371640/log.txt consumerLog.txt http://www.nabble.com/file/p25371640/Log.txt producerLog.txt http://www.nabble.com/file/p25371640/activemq.log activemq.log Gary Tully wrote: > > with 5.3 "localhost" is local, not the wildcard address. you may need to > use > the wildcard address "0.0.0.0" if you localhost is tied to a different > interface. > > 2009/9/9 magellings > >> >> Okay I have 5.3 configured with the following config. I can't connect >> from >> another machine through the host name of the server however. This config >> is >> taken directly from an ActiveMQ 5.2 broker and running that broker I can >> connect just fine. Anyone know what's up? >> >> >> >> > xmlns="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/schema/beans/spring-beans-2.0.xsd >> http://activemq.apache.org/schema/core >> http://activemq.apache.org/schema/core/activemq-core.xsd >> http://activemq.apache.org/camel/schema/spring >> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd"> >> >> >> > >> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> >> >> file:///${activemq.base}/conf/credentials.properties >> >> >> >> > brokerName="WAMQDEV1PRODUCTREQUEST" >> dataDirectory="${activemq.base}/data"> >> >> >> >> >> > password="replenish" groups="producers,consumers,admins" /> >> >> >> >> >> >> >> > read="consumers" admin="admins,producers" /> >> > write="admins,producers" admin="admins,producers,consumers" /> >> >> >> >> >> >> >> >> >> >> >> >> >> > advisdoryForFastProducers="true" advisoryWhenFull="true" >> memoryLimit="5mb"/> >> >> >> >> >> >> >> >> >> >> >> > directory="${activemq.base}/data" maxFileLength="20 mb"/> >> >> >> >> > createTablesOnStartup="false" /> >> >> >> >> > keyStorePassword="password" >> trustStore="file:${activemq.base}/conf/broker.ts" >> trustStorePassword="password"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > discoveryUri="multicast://default"/> >> >> >> >> >> > destroy-method="close"> >> > value="com.microsoft.sqlserver.jdbc.SQLServerDriver"/> >> > value="jdbc:sqlserver://CHALLENGER.qg.com:1433 >> ;databaseName=ActiveMQProductRequest;user=GL$ACTIVEMQ_PRODUCTREQUEST;password=replenish"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > resourceBase="${activemq.base}/webapps/admin" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/camel" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/demo" logUrlOnStart="true"/> >> > resourceBase="${activemq.base}/webapps/fileserver" logUrlOnStart="true"/> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> rajdavies wrote: >> > >> > We are aiming to get a 5.3 release candidate to vote on next week - so >> > no long >> > On 4 Sep 2009, at 19:46, magellings wrote: >> > >> >> >> >> Right now we're focusing pretty hard on stress testing version 5.2 >> >> but we can >> >> try and fit in a test. When is the estimated release date of >> >> version 5.3? >> >> In other words, how much time do we have? :) >> >> >> >> >> >> rajdavies wrote: >> >>> >> >>> >> >>> On 4 Sep 2009, at 15:14, magellings wrote: >> >>> >> >>>> >> >>>> We too were having problems were number of pending of messages was a >> >>>> negative >> >>>> number and messages received was greater than number sent. We >> >>>> determined >> >>>> there were indeed duplicate messages being sent. >> >>>> >> >>>> We ended up setting useCache to false on the queue policy entry and >> >>>> the >> >>>> problem appears to be resolved. >> >>>> >> >>>> We too were sending a high volume of messages to our queues >> >>>> relatively >> >>>> quickly. >> >>>> -- >> >>>> View this message in context: >> >>>> >> http://www.nabble.com/Getting-negative-number-of-pending-messages-tp22106707p25295148.html >> >>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >>>> >> >>> >> >>> >> >>> It would be great to know if you still had the problem on the latest >> >>> 5.3 snapshot too >> >>> >> >>> cheers, >> >>> >> >>> Rob >> >>> >> >>> Rob Davies >> >>> I work here: http://fusesource.com >> >>> My Blog: http://rajdavies.blogspot.com/ >> >>> I'm writing this: http://www.manning.com/snyder/ >> >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Getting-negative-number-of-pending-messages-tp22106707p25299721.html >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> >> > >> > Rob Davies >> > I work here: http://fusesource.com >> > My Blog: http://rajdavies.blogspot.com/ >> > I'm writing this: http://www.manning.com/snyder/ >> > >> > >> > >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Getting-negative-number-of-pending-messages-tp22106707p25369349.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > -- > http://blog.garytully.com > > Open Source Integration > http://fusesource.com > > -- View this message in context: http://www.nabble.com/Getting-negative-number-of-pending-messages-tp22106707p25371640.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.