1、saiku-service模块的org.saiku.database.Database类里面的private void loadEarthquakes()方法由于/homes/home:admin/sample_reports目录不存在,启动会报错,
建议将Database.java的public void init()方法里面的loadEarthquakes()那行代码给注释掉,这块是加载案例的,注释掉没有关系
2、在windows平台开发,由于foodmarturl=jdbc:h2:D:/appcom/config/saiku/data/foodmart;MODE=MySQL必须用绝对路径,所以建议将saiku-beans.properties文件里面的文件路径全部修改为绝对路径,比如:
default.role=ROLE_USER
external.properties.file=${catalina.base}/conf/Catalina/localhost/datasources.properties
webdav.password=sa!kuanalyt!cs
userdao.driverclass=org.h2.Driver
userdao.url=jdbc:h2:D:/appcom/config/saiku/data/saiku;MODE=MySQL
userdao.username=sa
userdao.password=
logdir=/data/logs
repoconfig=D:/appcom/config/saiku/configuration.xml
repodata=D:/appcom/config/saiku/repository/data
foodmartrepo=D:/appcom/config/saiku/data
foodmartschema=D:/appcom/config/saiku/data/FoodMart4.xml
foodmarturl=jdbc:h2:D:/appcom/config/saiku/data/foodmart;MODE=MySQL
earthquakerepo=D:/appcom/config/saiku/data
earthquakeschema=D:/appcom/config/saiku/data/Earthquakes.xml
earthquakeurl=jdbc:h2:D:/appcom/config/saiku/data/earthquakes;MODE=MySQL
pluginpath=D:/new-svn/saiku-release-3.9/saiku-ui/js/saiku/plugins/
orbis.auth.enabled=false
workspaces=false
repo.type=jackrabbit