Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 16547 invoked from network); 7 Nov 2007 14:44:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 14:44:20 -0000 Received: (qmail 36209 invoked by uid 500); 7 Nov 2007 14:44:07 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 36189 invoked by uid 500); 7 Nov 2007 14:44:07 -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 36180 invoked by uid 99); 7 Nov 2007 14:44:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 06:44:06 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG 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, 07 Nov 2007 14:44:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ipm8A-0000xt-H9 for users@activemq.apache.org; Wed, 07 Nov 2007 06:43:46 -0800 Message-ID: <13628250.post@talk.nabble.com> Date: Wed, 7 Nov 2007 06:43:46 -0800 (PST) From: j0llyr0g3r To: users@activemq.apache.org Subject: StoreLockedExcpetion: Kaha Store state is already opened by this application. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: timo.roessner@wincor-nixdorf.com X-Virus-Checked: Checked by ClamAV on apache.org Hey folks, i hope somebody can help me out with this issue: I integrated "AMQ 5 Snapshot" into Jboss 5 Beta 2 (the latest) according to the following howto: ################# HOWTO START ########################## Create a an activemq-directory: mkdir $JBOSS_HOME/server/default/deploy/activemq-ra.rar Copy the AMQ-rar file to that directory: cp $AMQ_HOME/lib/optional/activemq-rar-*.rar $JBOSS_HOME/server/default/deploy/activemq-ra.rar/ Unpack it: cd $JBOSS_HOME/server/default/deploy/activemq-ra.rar/ jar xvf activemq-rar-*.rar Edit the following file: vim $JBOSS_HOME/server/default/deploy/activemq-ra.rar/META-INF/ra.xml You have to change two configuration items: * Adjust "ServerUrl" by setting it to "vm://localhost": ServerUrl java.lang.String vm://localhost * Adjust "BrokerXMLConfig" by setting it to "xbean:broker-config.xml": BrokerXmlConfig java.lang.String xbean:broker-config.xml Copy your previous AMQ sample setup to the now embedded activemq-directory: cp $AMQ_HOME/conf/activemq.xml $JBOSS_HOME/server/default/deploy/activemq-ra.rar/broker-config.xml ################# HOWTO END ########################## My broker-config.xml is __really__ simple: ----------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------- Now this configuration works fine if i run AMQ standalone, but AMQ integrated into Jboss does not work: 1.) With a entry: 15:29:00,076 INFO [JournalPersistenceAdapterFactory] Journal is locked... waiting 10 seconds for the journal to be unlocked. 15:29:10,076 INFO [JournalPersistenceAdapterFactory] Journal is locked... waiting 10 seconds for the journal to be unlocked. 15:29:20,077 INFO [JournalPersistenceAdapterFactory] Journal is locked... waiting 10 seconds for the journal to be unlocked. 15:29:30,078 INFO [JournalPersistenceAdapterFactory] Journal is locked... waiting 10 seconds for the journal to be unlocked. 15:29:40,078 INFO [JournalPersistenceAdapterFactory] Journal is locked... waiting 10 seconds for the journal to be unlocked. 15 How can this be locked? - There is only __one__ amq-instance - The user who owns and starts Jboss also owns the complete datadirectory 2.) Without the entry Jboss gives me: ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** CONTEXTS IN ERROR: Name -> Error jboss.jca:name='activemq-ra.rar',service=RARDeployment -> org.apache.activemq.kaha.impl.StoreLockedExcpetion: Kaha Store state is already opened by this application. Googling for this error messages didn't illuminate this matter....... Any ideas on this? -- View this message in context: http://www.nabble.com/StoreLockedExcpetion%3A-Kaha-Store-state-is-already-opened-by-this-application.-tf4765086s2354.html#a13628250 Sent from the ActiveMQ - User mailing list archive at Nabble.com.