From users-return-7148-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Feb 01 21:47:31 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 50012 invoked from network); 1 Feb 2007 21:47:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 21:47:31 -0000 Received: (qmail 30712 invoked by uid 500); 1 Feb 2007 21:47:36 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30689 invoked by uid 500); 1 Feb 2007 21:47:36 -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 30626 invoked by uid 99); 1 Feb 2007 21:47:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 13:47:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [17.250.248.172] (HELO smtpout.mac.com) (17.250.248.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 13:47:25 -0800 Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/8.12.11/smtpout02/MantshX 4.0) with ESMTP id l11Ll3CR003699 for ; Thu, 1 Feb 2007 13:47:03 -0800 (PST) Received: from [192.168.2.107] ([206.176.232.252]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id l11Ll1Zp016237 for ; Thu, 1 Feb 2007 13:47:02 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: users@activemq.apache.org From: William Blackburn Subject: Network broker fails to start due to JournalLockedException Date: Thu, 1 Feb 2007 13:46:58 -0800 X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes X-Virus-Checked: Checked by ClamAV on apache.org I am using two embedded brokers on two nodes and using a network connector to link them. I thought I had configured AMQ to NOT use the journal, but now I can start one broker just fine, but when I start the second, I get a JournalLockedException, which does not impact the functioning of the local broker, but does fail the network connector between the two. Please help me understand how to fix this, as there doesn't to be any journal or lock files created anywhere that I can find them. Thanks. My config file looks like: And the stack trace is: Multicast Discovery Agent Notifier 2007-02-01 13:27:37,511 ERROR [BrokerService:start] Failed to start ActiveMQ JMS Message Broker. Reason: org.apache.activeio.journal.active.JournalLockedException: Journal is already opened by this application. org.apache.activeio.journal.active.JournalLockedException: Journal is already opened by this application. at org.apache.activeio.journal.active.ControlFile.lock (ControlFile.java:76) at org.apache.activeio.journal.active.LogFileManager.initialize (LogFileManager.java:120) at org.apache.activeio.journal.active.LogFileManager. (LogFileManager.java:101) at org.apache.activeio.journal.active.JournalImpl. (JournalImpl.java:100) at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createJournal (DefaultPersistenceAdapterFactory.java:198) at org.apache.activemq.store.DefaultPersistenceAdapterFactory.getJournal (DefaultPersistenceAdapterFactory.java:134) at org.apache.activemq.store.DefaultPersistenceAdapterFactory.createPersist enceAdapter(DefaultPersistenceAdapterFactory.java:63) at org.apache.activemq.broker.BrokerService.createPersistenceAdapter (BrokerService.java:968) at org.apache.activemq.broker.BrokerService.getPersistenceAdapter (BrokerService.java:559) at org.apache.activemq.broker.BrokerService.createRegionBroker (BrokerService.java:929) at org.apache.activemq.broker.BrokerService.createBroker (BrokerService.java:888) at org.apache.activemq.broker.BrokerService.getBroker (BrokerService.java:458) at org.apache.activemq.broker.BrokerService.start (BrokerService.java:361) at org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect (VMTransportFactory.java:102) at org.apache.activemq.transport.vm.VMTransportFactory.doConnect (VMTransportFactory.java:48) at org.apache.activemq.transport.TransportFactory.connect (TransportFactory.java:63) at org.apache.activemq.network.NetworkConnector.createLocalTransport (NetworkConnector.java:282) at org.apache.activemq.network.DiscoveryNetworkConnector.onServiceAdd (DiscoveryNetworkConnector.java:109) at org.apache.activemq.transport.discovery.multicast.MulticastDiscoveryAgen t$2.run(MulticastDiscoveryAgent.java:341) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:690) at java.lang.Thread.run(Unknown Source) Multicast Discovery Agent Notifier 2007-02-01 13:27:37,516 WARN [NetworkConnector:onServiceAdd] Could not connect to local URI: vm:? network=true: Journal is already opened by this application.