配置Pentaho BI以使用MySQL作为默认存储库

时间:2018-12-23 11:03:20

标签: server pentaho

我正在尝试将Pentaho配置为使用MySQL作为Pentaho Community Edition 8.x上的默认BI存储库

我按照这里的官方文档应用了所有设置。

https://help.pentaho.com/Documentation/8.1/Setup/Installation/Archive/MySQL_Repository

默认Pentaho随HSQLDB一起运行。但是配置为MySQL时出现此错误:

2018-12-23 16:22:11,291 ERROR [org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService] User/Role List could not be obtained.
java.lang.IllegalStateException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService
    at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder$1.invoke(BeanBuilder.java:159)
    at com.sun.proxy.$Proxy85.loadUserByUsername(Unknown Source)


Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - Error while trying to execute startup sequence for org.pentaho.platform.engine.services.connection.datasource.dbcp.DynamicallyPooledDatasourceSystemListener

有人可以帮我吗。我错过了哪些步骤?

真的很感谢 非常感谢,

1 个答案:

答案 0 :(得分:1)

您的错误只是一个或多个文件中的配置错误。仅遵循官方文档对我不起作用。

我找到了一个博客,该博客用西班牙语简要说明了该怎么做,希望对您有用。

MySQL https://ingmmurillo-dwh-bi.blogspot.com/2015/10/configuracion-de-pentaho-bi-server-v54.html

PostgreSQL https://ingmmurillo-dwh-bi.blogspot.com/2018/06/configuracion-de-pentaho-server-8x-para.html

P.S .:我的场景是带有PostgreSQL 9.6、9.4的Pentaho 8.1