`
conkeyn
  • 浏览: 1519984 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论

Pentaho B.I Server 每天都得重启一次的问题

阅读更多

Are you experiencing the same problem as the title ? are you working with a MySQL DB server. Then the cause for this problem is. The MySQL driver remove it’s connection from the connection pool due to inactivity after few hours if the server is not processing anything though the db connection.

There is a solution introduced in the Pentaho forum for this, you can find the thread with the following link.

http://forums.pentaho.com/showthread.php?54939-Pentaho-Server-falls-each-night-..&p=178067#post178067

But above forum post is based on the JBoss server. My intention with this post is to implement the same on the tomcat server since the file structure is a bit different. Ok without further due, let get into action.

01.    Download the C3P0 driver from SourceForge
02.    Extract the  c3p0-0.9.1.2.jar file into \biserver-ce\tomcat\common\lib\
03.    Open the mysql5.hibernate.cfg.xml XML file in the \biserver-ce\pentaho-solutions\system\hibernate\ folder
04.    Add the following code into the file

<!— hibernate c3p0 settings —>
<property name=”connection.provider_class”>org.hibernate.connection.C3P0ConnectionProvider</property>
<property name=”hibernate.c3p0.acquire_increment”>3</property>
<property name=”hibernate.c3p0.idle_test_period”>10</property>
<property name=”hibernate.c3p0.min_size”>5</property>
<property name=”hibernate.c3p0.max_size”>75</property>
<property name=”hibernate.c3p0.max_statements”>0</property>
<property name=”hibernate.c3p0.timeout”>25200</property>
<property name=”hibernate.c3p0.preferredTestQuery”>select 1</property>
<property name=”hibernate.c3p0.testConnectionOnCheckout”>true</property>
分享到:
评论

相关推荐

    pentaho JNDI 连接SQLServer2005教程

    ### Pentaho JNDI连接SQLServer2005教程 #### 概述 本文将详细介绍如何在Pentaho BI Suite 3.0.1-GA版本中通过Java命名与目录接口(JNDI)实现对SQL Server 2005数据库的连接。此教程主要针对已经具备基本Pentaho ...

    pentaho_bi_server汉化文件

    对于"Pentaho BI 3.10"这个特定版本,需要注意的是,每个Pentaho BI Server版本都有其独特的特性和功能,汉化文件需要与对应版本匹配,否则可能会出现兼容性问题。在升级或降级Pentaho BI Server时,记得同步更新或...

    在Linux上安装pentaho bi-server

    可以通过查看日志文件(如`/pentaho/biserver-ce/tomcat/logs/pentaho.log`)来定位具体问题。 对于端口冲突问题,可以通过修改`GettingStartedDB.properties`文件中的`tcp.port`属性值来解决: ```properties ...

    metastore-9.0.0.0-SNAPSHOT.jar

    kettle之Caused by: java.lang.ClassNotFoundException: org.pentaho.metastore.api.IMetaStore错误

    saiku-plugin-2.6适合Pentaho4.x

    总结来说,Saiku插件为Pentaho BI Server提供了强大的分析功能,而其与Pentaho不同版本的兼容性是使用者必须关注的问题。在升级Pentaho时,一定要进行详尽的测试,以确保所有关键组件都能正常工作,从而保证数据分析...

    Pentaho_BI_Server源码分析

    Pentaho BI Server是一款开源的商业智能(BI)平台,它提供了一整套工具来处理数据集成、报表、分析和信息展示。通过源码分析,我们可以深入理解其工作原理和设计模式,这对于开发者和定制化需求者来说尤其有价值。 ...

    Pentaho交流.ppt

    Pentaho是一款全面的商业智能(BI)平台,它提供了数据仓库、数据分析、报告和仪表板等一系列工具,帮助企业实现数据的整合、分析和可视化。在本文中,我们将深入探讨Pentaho的各个组件及其功能。 首先,Pentaho BI...

    Pentaho 5.4.0.1 + CAS单点登录配置文档

    Pentaho是一款开源的企业级商业智能(BI)平台,提供数据集成、分析、报告和仪表板等功能。在5.4.0.1版本中,Pentaho支持与其他系统集成,包括使用中央认证服务(Central Authentication Service,简称CAS)实现单点...

    pentahog构建调试

    - 在 `{pentaho}\assemblies\pentaho-server\target` 路径下找到 `pentaho-server-ce-8.1.0.0-SNAPSHOT.zip` 文件, 解压后通过执行 `start-pentaho.bat` 即可启动 Pentaho 服务器。 **6. 浏览网站** - 在浏览器...

    Pentaho_bi_server配置手册

    ### Pentaho BI Server 配置知识点详解 #### 1. 使用 MySQL 作为 Pentaho 默认数据库 **1.1 创建数据库** - **SQL 脚本**:为了将 MySQL 设置为 Pentaho 的默认数据库,需要执行特定的 SQL 脚本来创建必要的表...

    Pentaho.Solutions.Business.Intelligence.and.Data.Warehousing

    Pentaho是一个全面的开源商业智能套件,它可以帮助用户构建数据仓库,并构建功能强大、丰富的商业智能应用程序,其成本只是专有解决方案的一小部分。本书能够帮助读者迅速掌握Pentaho的使用,从最开始就能够运行示例...

    Pentaho技术白皮书中文版(一)用Eclipse构建和调试Pentaho借鉴.pdf

    Pentaho技术白皮书中文版(一)用Eclipse构建和调试Pentaho借鉴 本文档的目的是教会开发人员如何开始进行Pentaho的开发。为了实现这一目标,本文档将详细介绍如何在Eclipse中设置一个开发环境,包括如何连接到...

    pentaho.rar

    这个“pentaho.rar”压缩包文件显然包含了与Pentaho相关的组件或库,特别是“aggdesigner-algorithm-jar包”,这是一个可能用于数据分析和聚合计算的算法库。在描述中提到,这个jar包可能在官网上已经无法下载,因此...

    Pentaho Data Integration(Kettle9.0.0.2)&Pentaho Data Reporting

    Pentaho Data Integration(原Kettle)和 Data Reporting工具最新版9.0.0.2.530百度云下载地址 ETL工具及报表展示工具

    pentaho-kettle-8.2.zip

    Pentaho Kettle是一款强大的ETL(提取、转换、加载)工具,由Pentaho公司开发。这个名为“pentaho-kettle-8.2.zip”的压缩包文件包含了Pentaho Data Integration(Kettle)的第8.2版本。Pentaho Kettle通过图形化的...

    Packtpub.Pentaho.3.2.Data.Integration.Beginners.Guide.Apr.2010.rar

    《Pentaho 3.2 数据集成初学者指南》是由Packtpub出版社在2010年4月发行的一本专业书籍,主要针对那些想要掌握数据集成技术的初学者。这本书详细介绍了如何使用Pentaho Data Integration(也称为Kettle)这一强大的...

    Learning Pentaho CTools.pdf

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, ...

    maven编译pentaho-big-data-plugin遇到的所有问题解决

    maven编译pentaho-big-data-plugin遇到的所有问题解决,pentaho6.0

    Pentaho平台搭建之初始化mysql数据库--详细步骤记录

    - `pentaho.platform.database=jdbc:mysql://localhost/pentaho_db` - `pentaho.platform.database.username=pentaho_user` - `pentaho.platform.database.password=your_password` - `pentaho.platform.driver-...

Global site tag (gtag.js) - Google Analytics