Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 59169 invoked from network); 26 Nov 2007 17:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2007 17:46:41 -0000 Received: (qmail 79817 invoked by uid 500); 26 Nov 2007 17:46:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 79784 invoked by uid 500); 26 Nov 2007 17:46:29 -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 79775 invoked by uid 99); 26 Nov 2007 17:46:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 09:46:29 -0800 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 17:46:07 +0000 Received: by py-out-1112.google.com with SMTP id p76so1646902pyb for ; Mon, 26 Nov 2007 09:46:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=umJSBhKifL5435Un1TjsucPraOtb6AqCxQom10vmCj0=; b=GRS5CzisJpbXPQfOMZ4TLmuh5n8Es0kBhrpvCaY6WANYdJa7XfEt7/8+himTmHgFZKewhC1i+BsIWhJ0bl5tutyygXEtguwe26Ht16YpV3W0Je5teZO//HT2Qwtge5eMCYqCNz26hePoG/18VJVpfAHcTqy0RGMN2zTRGmfd3OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HEZEfeyNimtyjLWnfiP2VDFqa5cs2xXDFnAe2RhTL+r9EKC4NCaMCxGwTbPxjMbAvdI25U0rhogBlcwUveaQoslRMIcnHbbUF782oNDk5L3J2yDegEN0n0NNR96ra+1TzGgw2Q79vQ53bRoIwoWGIMx54MIFvw9BgkQfD0bCk7Q= Received: by 10.65.216.19 with SMTP id t19mr6486073qbq.1196099167685; Mon, 26 Nov 2007 09:46:07 -0800 (PST) Received: by 10.65.204.2 with HTTP; Mon, 26 Nov 2007 09:46:07 -0800 (PST) Message-ID: Date: Mon, 26 Nov 2007 17:46:07 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Static Network of brokers In-Reply-To: <13952449.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13918077.post@talk.nabble.com> <46450069-5E11-4B85-BE92-B286E0D36317@gmail.com> <13948774.post@talk.nabble.com> <13949909.post@talk.nabble.com> <13952449.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org It could be a dependency issue in your spring.xml http://activemq.apache.org/the-vm-transport-starts-a-broker-before-my-configured-broker-starts.html On 26/11/2007, Koka wrote: > > Why is the broker starting itself again? Below is what I see after I start up > ActiveMQ > > ACTIVEMQ_HOME: /home/wchung/apache-activemq-4.1.1 > ACTIVEMQ_BASE: /home/wchung/apache-activemq-4.1.1 > Loading message broker from: xbean:Static_Matt.xml > INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker > (Active MQ_On_Mfriedman) is starting > INFO BrokerService - For help or more information please > see: > http://incubator.apache.org/activemq/ > INFO ManagementContext - JMX consoles can connect to > service:jmx:r > mi:///jndi/rmi://localhost:1099/jmxrmi > INFO JDBCPersistenceAdapter - Database driver recognized: > [apache_derby _embedded_jdbc_driver] > INFO DefaultDatabaseLocker - Attempting to acquire the exclusive > lock to become the Master broker > INFO DefaultDatabaseLocker - Becoming the master on dataSource: > org.ap > ache.derby.jdbc.EmbeddedDataSource@6458a6 > INFO JournalPersistenceAdapter - Journal Recovery Started from: Active > Jou rnal: using 2 x 20.0 Megs at: > /home/wchung/apache-activemq-4.1.1/conf/activemq-d > ata/ActiveMQ_On_Mfriedman/journal > INFO JournalPersistenceAdapter - Journal Recovered: 0 message(s) in > transa ctions recovered. > INFO TransportServerThreadSupport - Listening for connections at: > tcp://mfrie dman.dyndns.biz:61616 > INFO TransportConnector - Connector TC_mFriedman Started > INFO NetworkConnector - Establishing network connection > between f rom vm:?network=true to > tcp://mitacp52257:61616 > INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker > (null) is starting > INFO BrokerService - For help or more information please > see: > http://incubator.apache.org/activemq/ > WARN ManagementContext - Failed to start jmx connector: Cannot > bin d to URL > [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: > jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi] > INFO JDBCPersistenceAdapter - Database driver recognized: > [apache_derby _embedded_jdbc_driver] > INFO DefaultDatabaseLocker - Attempting to acquire the exclusive > lock to become the Master broker > INFO DefaultDatabaseLocker - Becoming the master on dataSource: > org.ap > ache.derby.jdbc.EmbeddedDataSource@c67a88 > INFO JournalPersistenceAdapter - Journal Recovery Started from: Active > Jou rnal: using 2 x 20.0 Megs at: > /home/wchung/apache-activemq-4.1.1/conf/activemq-d > ata/null/journal > INFO JournalPersistenceAdapter - Journal Recovered: 0 message(s) in > transa ctions recovered. > INFO BrokerService - ActiveMQ JMS Message Broker (null, > ID:mfr > iedman.dyndns.biz-45507-1196090254923-1:1) started > INFO TransportConnector - Connector vm://null Started > WARN NetworkConnector - Could not start network bridge > between: v m:?network=true and: > tcp://mitacp52257:61616 due to: java.net.ConnectException: > Connection refused > INFO NetworkConnector - Establishing network connection > between f rom vm:?network=true to > tcp://mitacp52257:61616 > INFO TransportConnector - Connector vm://null Stopped > WARN ManagementContext - Failed to start jmx connector: Cannot > bin d to URL > [rmi://localhost:1099/jmxrmi]: javax.naming.NameAlreadyBoundException: > jmxrmi [Root exception is java.rmi.AlreadyBoundException: jmxrmi] > INFO BrokerService - ActiveMQ 4.1.1 JMS Message Broker > (null) is starting > INFO BrokerService - For help or more information please > see: > http://incubator.apache.org/activemq/ > INFO NetworkConnector - Establishing network connection > between f rom vm:?network=true to > tcp://comfsd001:61616 > INFO faultPersistenceAdapterFactory - Journal is locked... waiting 10 > seconds f or the journal to be > unlocked. > > The broker tries to start itself twice, hence the lock. Any idea why this is > happening? > -- > View this message in context: http://www.nabble.com/Static-Network-of-brokers-tf4863557s2354.html#a13952449 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com