Pentaho bi 服务器和管理控制台通信 [英] Pentaho bi server and administration-console communications

查看:51
本文介绍了Pentaho bi 服务器和管理控制台通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从 此处.现在我想创建基于 JNDI 的数据源,所以我通过 pentaho 管理控制台登录,但在该网页中没有显示用户列表、用户角色.在谷歌搜索了一段时间后,我发现更改了 console.xml 然后我更改了我的 console.xml 文件,如下所示

I was deploy pentaho bi server on my running tomcat server ref from here. Now I want to create JNDI bases datasource so I login through pentaho administration console but in that web page nothing to shows users lists, user role. After googling some times I was found that change console.xml then I was changed my console.xml file as below

<?xml version="1.0" encoding="UTF-8"?>
<console> 
<solution-path>/home/pc-name/pentaho-solutions</solution-path>
<war-path>/home/pc-name/apache-tomcat-7.0.47/webapps/pentaho</war-path>
<platform-username>joe</platform-username>  
<biserver-status-check-period-millis>30000</biserver-status-check-period-millis>  
<homepage-url>http://www.pentaho.com/console_home</homepage-url>  
<homepage-timeout-millis>15000</homepage-timeout-millis>  
<!-- comma separated list of roles (no spaces) -->  
<default-roles>Authenticated</default-roles>
<default-server-dir>biserver-ce</default-server-dir>
</console>

然后我停止了管理控制台,然后再次启动,但它仍然没有向我显示任何用户列表、角色列表.之后我硬编码 start-pac.sh 如下

then I was stopped administration console and then again start but still it not shows me any user lists, role lists. After that I hard coded start-pac.sh as below

DIR_REL=`dirname $0`
cd $DIR_REL
DIR=`/home/pc-name/apache-tomcat-7.0.47`
cd -

. "$DIR/set-pentaho-env.sh"

setPentahoEnv "$DIR/../biserver-ce/jre"

但是在 start-pac.sh 运行它显示未找到 set-pentaho-env.sh 但在我在现有 tomcat 上部署 pentaho bi 服务器的第一步中它没有提到任何关于 set-pentaho-env.sh 复制或放.谁能知道如何解决这个问题?

but running at start-pac.sh it shows set-pentaho-env.sh not found but in my first steps deploying pentaho bi server on existing tomcat it not mentioned anything about set-pentaho-env.sh where to copy or set. Can any one knows how to solve this problem?

推荐答案

简短回答:Pentaho 5.0 没有管理控制台,因为用户角色和数据库连接都可以在用户控制台中轻松配置.您似乎刚刚开始部署您的双服务器,所以我建议您升级到新版本并留下管理控制台.相信我.你会喜欢的.

Short answer: Pentaho 5.0 doesn't have an admin console because both user roles and database connections are easily configured in the user console. It seems you just started to deploy your biserver so I suggest you upgrade to the new version and leave admin console behind. Trust me. You will like it.

长答案:如果您出于某种奇怪的原因仍希望继续使用 4.8:不要更改 Pac-start.bat 中的任何内容,还原到更改前的原始版本.如果您需要更改默认 URL 或端口,则找到 biserver-ce\tomcat\conf\server.xmlpentaho 用户控制台的默认端口是 8080,默认的管理控制台端口是 8443.根据您的喜好更改这些端口.一旦完成,找到 biserver-ce\tomcat\webapps\pentaho\WEB-INF\web.xml

Long answer: If you still wish to stay with 4.8 for some strange reason: Don't change anything in Pac-start.bat, revert to the original version before your changes. If you need to change the default URL or port, then find biserver-ce\tomcat\conf\server.xml the default for pentaho user console is 8080, and the default admin console port is 8443. Change those to your preference. Once done, find biserver-ce\tomcat\webapps\pentaho\WEB-INF\web.xml

在此处更改:

 <context-param>
        <param-name>fully-qualified-server-url</param-name>
        <param-value>http://localhost:8080/pentaho/</param-value>
    </context-param>

然后找到受信任的 IP 列表并在此处添加其他受信任的 IP(这在第 133 行附近)

then find the list of trusted Ip's and add additional trusted IP's here (this is somewhere around line 133)

   <param-name>TrustedIpAddrs</param-name>
   <param-value>127.0.0.1,0\:0\:0\:0\:0\:0\:0\:1(%.+)*$</param-value>
   <description>Comma separated list of IP addresses of a trusted hosts.</description>

(本文也有介绍:http://wiki.pentaho.com/display/ServerDoc2x/Setting+up+trust+between+Administration+Console+and+BI+Server)

确保当您启动管理控制台时,pentaho biserver 已经在运行.如果 biserver 未运行,则管理控制台将无法工作.请确保使用正确的 JDK,因为错误的 java 配置或错误的 java_home_path 也会导致管理控制台无法启动.

Make sure when you start the admin console, pentaho biserver is running already. Admin console will not work if the biserver is not running. Make sure you use the correct JDK, because a wrong java configuration, or wrong java_home_path can also cause admin console to not stand up.

真的,只需使用 Pentaho 5.0.1.

Really, just go with Pentaho 5.0.1.

这篇关于Pentaho bi 服务器和管理控制台通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆