具体如下:在装好后的文件夹中,找“tomcat\shared\classes\alfresco-global.properties”,修改“database connection properties ”下面内容如下:
...... ### database connection properties ### db.driver=com.mysql.jdbc.Driver db.username=root db.password=root1234 db.name=alfresco_install db.url=jdbc:mysql://192.168.139.139:3306/alfresco_install?useUnicode=true&characterEncoding=UTF-8 ......
常见错误二:
org.alfresco.error.AlfrescoRuntimeException: Ensure that the 'dir.root' property
is pointing to the correct data location.
alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco 下的repository.properties文件中:
# Change the failure behaviour of the configuration checker
system.bootstrap.config_check.strict=true
改为:
# Change the failure behaviour of the configuration checker
system.bootstrap.config_check.strict=false
修改好之后需要重启服务,cmd - services.msc,找到服务:alfrescoTomcat。
启动存在异常,参考我的另一篇文章: http://ithead.iteye.com/blog/1697120