pentaho5在linux下部署,报下面的错误
17:08:06,528 ERROR [ContextLoader] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [/root/biserver-ce-5.3.0.0-213/biserver-ce/pentaho-solutions/system/GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "H2 TCP Server (tcp://localhost:9092)" (port may be in use), cause: "timeout" [90061-131]
解决方式如下:
I had exactly the same problem. I observed that the H2 was trying to bind an invalid IP for my network configuration. So, I had to configure manually the binding by adding "-Dh2.bindAddress=localhost" in the start-pentaho.sh. Now, everything is working like a charm.
配置代码栗子如下:
#!/bin/sh ### ====================================================================== ### ## ## ## Pentaho Start Script ## ## ## ### ====================================================================== ### DIR_REL=`dirname $0` cd $DIR_REL DIR=`pwd` #cd - . "$DIR/set-pentaho-env.sh" setPentahoEnv "$DIR/jre" errCode=0 if [ -f "$DIR/promptuser.sh" ]; then sh "$DIR/promptuser.sh" errCode="$?" rm "$DIR/promptuser.sh" fi if [ "$errCode" = 0 ]; then cd "$DIR/tomcat/bin" CATALINA_OPTS="-Xms1024m -Xmx2048m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dh2.bindAddress=localhost" export CATALINA_OPTS JAVA_HOME=$_PENTAHO_JAVA_HOME sh startup.sh fi
..搞定
相关推荐
hibernate-commons-annotations-5.0.1.Final.jar的源码
cordova-plugin-camera-5.0.1
详细讲述了BR、EDR、BLE的RF测试用例,包含测试参数设置和测试标准。2017年7月最后更新。
Kettle简介:Kettle是一款国外开源的ETL工具,纯java编写,可以在Window、Linux、Unix上运行,数据抽取高效稳定。Kettle 中文名称叫水壶,该项目的主程序员MATT 希望把各种数据放到一个壶里,然后以一种指定的格式...
couchbase-server-community_5.0.1-ubuntu14.04_amd64.deb
hibernate-commons-annotations-5.0.1.Final.jar的源码,如果有需要可以下载,希望可以帮助到你
barcodegen.1d-php5.v5.0.1
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part07.rar
VisualSVN Server 允许您在 Windows 平台上轻松安装和管理功能齐全的 Subversion 服务器
官方离线安装包,测试可用。使用rpm -ivh [rpm完整包名] 进行安装
x-pack-kibana-5.0.1.zip
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
最新版windows mongodb-windows-x86_64-5.0.1-signed.msi最新版windows mongodb-windows-x86_64-5.0.1-signed.msi
llvm-toolset-7-llvm-5.0.1-8.el7.src.rpm
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part17.rar
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part18.rar
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part04.rar
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part19.rar
qt-windows-opensource-5.0.1-mingw47_32-x86-offline.part03.rar
PyQt4-4.10-gpl-Py3.3-Qt5.0.1 x86