您现在的位置:主页 > 技术中心 > 操作系统 > Linux

配置activemq5使用mysql数据库(2)

来源:未知 责任编辑:责任编辑 发表时间:2014-05-20 18:34 点击:

 INFO | Database lock driver override not found for : [mysql-ab_jdbc_driver].  Will use default implementation.

 INFO | Attempting to acquire the exclusive lock to become the Master broker

 INFO | Failed to acquire lock.  Sleeping for 1000 milli(s) before trying again...

 INFO | Failed to acquire lock.  Sleeping for 1000 milli(s) before trying again...

 INFO | Failed to acquire lock.  Sleeping for 1000 milli(s) before trying again...

 INFO | Failed to acquire lock.  Sleeping for 1000 milli(s) before trying again...

 INFO | Failed to acquire lock.  Sleeping for 1000 milli(s) before trying again...

 

解决办法:

在persistenceAdapter中添加useDatabaseLock="false"

 <persistenceAdapter>

    <jdbcPersistenceAdapter dataSource="#mysql-ds" useDatabaseLock="false" />

        </persistenceAdapter>

 

2)

错误:

Failure Details: Binary logging not possible.

解决:

修改my.cnf,把下面几行打开。

log-bin=mysql-bin

binlog_format=mixed

 

----------------------------------------结束----------------------------------------------------

写完,收工。

 

本文出自 “目标→Linux” 博客

发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片

推荐热点

  • /etc/fstab 详解
  • nginx主主集群
  •  LVS-NAT和LVS-DR模式的实现详解
  •  RHCE考试之磁盘配额
  • 学习笔记:ACL详解
  •  LVM逻辑卷管理器
  • suse linux双网卡双网关配置
  •  Nginx主主负载均衡架构
  • linux top命令详解

快速直达

?? - ?? - ÝřŝžľŘÝź - TAGąęÇŠ - RSSśŠÔÄ - ??
Copyright © 2004-2024 上海卓卓网络科技有限公司