wso2部署alfresco问题记录

http://wso2.org/library/articles/2011/10/alfresco-wso2-stratos-application-server151

最开始是看这篇文章部署的,但是部署不成功,自己又在google上搜了下。

1.问题:For input string: "${db.txn.isolation}"         

  解决方法:repository.properties  中添加 db.txn.isolation=-1

2. 问题:org.hibernate.HibernateException: Hibernate Dialect must be explicitly set

 解决方法:repository.properties  中添加 hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect (我这用的是mysql)

3.问题:java.lang.IllegalArgumentException: Invalid boolean value [${db.schema.stopAfterSchemaBootstrap}]

解决方法: repository.properties  中添加 db.schema.stopAfterSchemaBootstrap=false
4.问题:For input string: "${db.schema.update.lockRetryCount}"

解决方法: repository.properties  中添加 db.schema.update.lockRetryCount=24

 

 

最终配置

hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect
db.schema.update=true
db.schema.update.lockRetryCount=24
db.schema.update.lockRetryWaitSeconds=5

db.schema.stopAfterSchemaBootstrap=false
db.driver=com.mysql.jdbc.Driver
db.name=alfresco
db.url=jdbc:mysql://10.1.1.82:3306/alfresco
db.username=alfresco
db.password=alfresco
db.pool.initial=10
db.pool.max=20

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值