`

lock is locked... waiting 10 seconds for the database to be unlocked

 
阅读更多

 

今天配置Pure master slave with activeMQ, 碰到如下错误:

C:\apache-activemq-5.4.3\bin>activemq xbean:file:../conf/pure_master.xml

Java Runtime: Sun Microsystems Inc. 1.6.0_24 C:\Program Files\Java\jre6

  Heap sizes: current=15872k  free=14433k  max=506816k

    JVM args: -Dcom.sun.management.jmxremote -Xmx512M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dactivemq.classpath=C:\apache-activemq-5.4.3\bin\../conf;C:\apache-activemq-5.4.3\bin\../conf; -Dactivemq.home=C:\apache-activemq-5.4.3\bin\.. -Dactivemq.base=C:\apache-activemq-5.4.3\bin\..

ACTIVEMQ_HOME: C:\apache-activemq-5.4.3\bin\..

ACTIVEMQ_BASE: C:\apache-activemq-5.4.3\bin\..

Loading message broker from: xbean:file:../conf/pure_master.xml

 INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@15e83f9: startup date [Thu Oct 27 12:41:12 CST 2011];root of context hierarchy

 WARN | destroyApplicationContextOnStop parameter is deprecated, please use shutdown hooks instead

 INFO | PListStore:C:\apache-activemq-5.4.3\bin\..\data\pure_master\tmp_storage started

 INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[C:\apache-activemq-5.4.3\bin\..\data\kahadb_pure_master ]

 INFO | Database C:\apache-activemq-5.4.3\bin\..\data\kahadb_pure_master \lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.FileNotFoundException: C:\apache-activemq-5.4.3\bin\..\data\kahadb_pure_master \lock (The system cannot find the path specified)

 INFO | Database C:\apache-activemq-5.4.3\bin\..\data\kahadb_pure_master \lock is locked... waiting 10 seconds for the database to be unlocked. Reason: java.io.FileNotFoundException: C:\apache-activemq-5.4.3\bin\..\data\kahadb_pure_master \lock (The system cannot find the path specified)

 

 

原因竟是kahadb_pure_master 与 双引号" 之间多了一个空格.

 

错误:
        <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb_pure_master "/>
        </persistenceAdapter>
 

 

 

正确
        <persistenceAdapter>
            <kahaDB directory="${activemq.base}/data/kahadb_pure_master"/>
        </persistenceAdapter>
 

 

 

分享到:
评论

相关推荐

    解决sqlite死锁示例异常database is locked示例

    解决sqlite死锁示例异常database is locked示例

    disable/enable adb codes

    disable/enable adb codes

    微软内部资料-SQL性能优化3

    For example, if you defer constraint checking, it is your responsibility to ensure that the database is consistent. Isolation Concurrent transactions are isolated from the updates of other incomplete...

    Core is locked-up! stm32 flash 解锁

    stm32 flash解锁,我的是开发板,在按键中断中解锁flash,具体的见源代码,使用ram.icf,把程序烧录在ram中,环境是IAR6.10,库版本是3.0,成功解决Core is locked-up问题。~

    Oracle the account is locked解决办法

    Oracle; the account is locked

    pll.rar_back_frequency control_phase locked loop_pll lock_pll lo

    A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. While there are several differing types, it is ...

    Android多线程操作sqlite(Sqlite解决database locked问题)

    Sqlite解决database locked问题

    微软内部资料-SQL性能优化2

    Each virtual memory address is tagged as to what access mode the processor must be running in. System space can only be accessed while in kernel mode, while user space is accessible in user mode. This...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    is written to stream, which is then read by the flex-property, for which the Assign method is called. - ADD: In TIdPool (module FlexUtils), added the method NextUsed (allows iterating all taken ...

    Micro CMOS Design, 2012.pdf

    This.book.is.mainly.written.and.organized.to.give.proper.perspectives.on.the.various. designs.of.data.converters.and.PLLs,.which.are.the.two.most.common.analog.circuit.com- ponents.in.SoCs..The....

    sqlLiteManager

    svn: 'E:\eclipse2018workspace2\SWS' is already locked. 出现的原因: SVN更新时意外中止,触发了SVN的保护机制 解决方案: 首先,打开隐藏的文件夹,会发现 .svn 文件夹,打开之后会发现有个wc.db的文件 使用...

    Radmin自动登录器v3.0-多国语言绿色版-Release1-20150615

    1、程序功能和使用环境介绍 2、程序操作方法介绍 3、登录信息文件RadminM.txt介绍 4、登录信息文件RadminM.txt的转换和编制 5、v3.0版新增解锁远程桌面功能 6、相关配置和多种语言支持介绍 ...

    The Data Conversion Handbook

    The Early Years: Telegraph to Telephone .......................................................................................... 6 The Invention of PCM .................................................

    Radmin自动登录器v3.0

    1、程序功能和使用环境介绍 2、程序操作方法介绍 3、登录信息文件RadminM.txt介绍 4、登录信息文件RadminM.txt的转换和编制 5、v3.0版新增解锁 远程桌面功能 6、相关配置和多种语言支持介绍 ...

    数位板压力测试

    This specification is intended to be an open standard, and as such the text and information contained herein may be freely used, copied, or distributed without compensation or licensing restrictions. ...

    Phaes-Locked Loops Design R.E.Best

    CD-Rom for the book "Phase-Locked Loops Design,Simulation and Applications by R.E.Best. A design program for Phase-locked loops circuits

    HP 惠普 AMTOOLS.iso 用于HP电脑AMT设置

    4. After you make a choice, the system will be configured and rebooted. At final, it will display either 1). AMT-Enabled VPro Enabled Descriptor Locked Management Engine enabled Flash ...

    GAMS Python API documentation 24.0

    With the exception of GamsWorkspace the objects in the gams namespace cannot be accessed across different threads unless the instance is locked. The classes themself are thread safe and multiple ...

    proxysql-2.0.5-1-centos7.x86_64.rpm

    proxysql-2.0.5可修复'ProxySQL Error:connection is locked to hostgroup 10 but trying to reach hostgroup 20这个问题

    sqlite死锁datebaselock解决方案

    解决sqlite3 databaselocked 问题的代码实例,比较有参考价值。

Global site tag (gtag.js) - Google Analytics