配置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详解
  • suse linux双网卡双网关配置
  •  LVM逻辑卷管理器
  •  Nginx主主负载均衡架构
  • ubuntu学习Mysql

快速直达

操作系统导航

LinuxWindows虚拟机
网站首页 - 友情链接 - 网站地图 - TAG标签 - RSS订阅 - 内容搜索
Copyright © 2008-2015 计算机技术学习交流网. 版权所有

豫ICP备11007008号-1