我在linux平台上安装了Pentaho BA suite 5.0.5。 postgreSQL 存储库中的一切都运行良好。 我引用了此链接To Configure Mysql as reposity 但如果尝试为 pentaho 配置 mysql,我将面临错误。
这是我所做的更改:
1.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/quartz/quartz.properties 线路:300 org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate
2.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/hibernate/hibernate-setting.xml行:15
system/hibernate/mysql5.hibernate.cfg.xml
3.编辑/home/pentaho/server/biserver-ee/pentaho-solutions/system/applicationContext-spring-security-hibernate.properties
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/hibernate
jdbc.username=hibuser
jdbc.password=密码
hibernate.dialect=org.hibernate.dialect.MySQLDialect
4.我将 audit_sql.xml 文件从/home/pentaho/server/biserver-ee/pentaho-solutions/system/dialects/mysql5 复制到/home/pentaho/server/biserver-ee/pentaho-解决方案/系统
编辑了/home/pentaho/server/biserver-ee/pentaho-solutions/system/jackrabbit/repository.xml 文件并取消注释 SQL 配置
我将 mysql-connector-java-5.1.25-bin.jar 文件复制到 tomcat/lib 文件夹
我在/home/pentaho/server/biserver-ee/tomcat/webapps/pentaho/META-INF/conetxt.xml 文件中进行了更改
driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://localhost:3306/hibernate" validQuery="select 1"/> 在 jdbc/hibernate 部分
driverClassName="com.mysql.jdbc.Driver"url="jdbc:mysql://localhost:3306/quartz" validationQuery="选择 1"/> 在 jdbc/Quartz 部分
我遇到这些错误:
1.pentaho.log 文件:EmbeddedQuartzSystemListener.ERROR_0001 - 启动时调度程序未正确初始化
2.在pentaho用户控制台中,加载符号永远保持不显示文件。
3.我无法保存报告。
最佳答案
这可能非常简单 - 但由于某种许可问题,pentaho 平台默认情况下不附带 mysql jdbc 驱动程序。
因此需要手动获取mysql jdbc驱动并将其放入Web服务器lib文件夹中。 对于 tomcat(默认安装),该文件夹为/servers/.../tomcat/lib 文件夹。
对于这种特殊情况,可能是
/home/pentaho/server/biserver-ee/tomcat/lib
还有一个建议是检查
下的完整日志/home/pentaho/server/biserver-ee/logs
这是pentaho平台保存日志信息的主要地方。 希望它会有所帮助。
顺便说一下,有一个关于配置 pentaho 平台的非常好的 pentaho 信息门户: http://infocenter.pentaho.com/help/nav/2_3
关于Pentaho (5.0.5) 配置 Mysql,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25738122/