Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 19159 invoked from network); 25 Apr 2007 17:54:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2007 17:54:31 -0000 Received: (qmail 44926 invoked by uid 500); 25 Apr 2007 17:54:37 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 44901 invoked by uid 500); 25 Apr 2007 17:54:37 -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 44891 invoked by uid 99); 25 Apr 2007 17:54:37 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 10:54:37 -0700 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 (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2007 10:54:30 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1Hglgv-0007V3-N5 for users@activemq.apache.org; Wed, 25 Apr 2007 10:54:09 -0700 Message-ID: <10186093.post@talk.nabble.com> Date: Wed, 25 Apr 2007 10:54:09 -0700 (PDT) From: xbranko To: users@activemq.apache.org Subject: 4.2 master-slave configuration exception MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: xbranko@netscape.net X-Virus-Checked: Checked by ClamAV on apache.org ActiveMQ: 4.2-20070328.130210-35 java 1.5.0_04 Master and slave configured as per instructions, and both come up. Both receive messages from producer. When using the admin webapp on master to look at the queue, the queue gets displayed, but the slave gets the NP exception: ERROR Service - Async error occurred: java.lang.NullPointerException java.lang.NullPointerException at org.apache.activemq.broker.region.RegionBroker.processDispatchNotification(RegionBroker.java:543) at org.apache.activemq.broker.BrokerFilter.processDispatchNotification(BrokerFilter.java:201) at org.apache.activemq.broker.BrokerFilter.processDispatchNotification(BrokerFilter.java:201) at org.apache.activemq.broker.BrokerFilter.processDispatchNotification(BrokerFilter.java:201) at org.apache.activemq.broker.MutableBrokerFilter.processDispatchNotification(MutableBrokerFilter.java:209) at org.apache.activemq.broker.TransportConnection.processMessageDispatchNotification(TransportConnection.java:498) at org.apache.activemq.command.MessageDispatchNotification.visit(MessageDispatchNotification.java:76) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:282) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188) at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:96) at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:65) at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:224) at org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:97) at org.apache.activemq.thread.DedicatedTaskRunner.access$000(DedicatedTaskRunner.java:25) at org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:39) During master and slave startup these two messages appear in respective logs (I renamed the brokers to 'master' and 'slave' instead of default 'localhost'): [in master log] WARN BrokerRegistry - Broker localhost not started so using master instead [in slave log] WARN BrokerRegistry - Broker localhost not started so using slave instead If I rename both brokers back to localhost, the above messages do not show, but the NPE is still happening. Is it correct to use the admin webapp tool to look at the slave, while it is in the slave mode? Thanks, Branko -- View this message in context: http://www.nabble.com/4.2-master-slave-configuration-exception-tf3647044s2354.html#a10186093 Sent from the ActiveMQ - User mailing list archive at Nabble.com.