`
conkeyn
  • 浏览: 1512453 次
  • 性别: 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.Solutions.Business.Intelligence.and.Data.Warehousing

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

    pentaho_bi_server汉化文件

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

    saiku-plugin-2.6适合Pentaho4.x

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

    Pentaho交流.ppt

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

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

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

    Pentaho_BI_Server源码分析

    Pentaho_BI_Server源码分析,比较详细的介绍了pentaho源码,希望能帮助对此感兴趣的使用者

    metastore-9.0.0.0-SNAPSHOT.jar

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

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

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

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

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

    pentaho JNDI 连接SQLServer2005教程

    自己做的 日文 pentaho-bi-suite-3.0.1-GA

    Datafor数据可视化与分析平台(for Pentaho).pdf

    Datafor数据可视化与分析平台(for Pentaho).pdf

    Pentaho_bi_server配置手册

    目录 Pentaho笔记 3 2 使用MySQL作为Pentaho默认数据库 4 ...pentaho相关问题及解答 23 pentaho发布服务密码设置 23 jpivot版本问题导致的问题 23 pentaho schema workbench发布异常 23 Question 23 solutions: 24

    Pentaho Analysis

    Pentaho Analysis.pdf

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

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

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

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

    pentaho-kettle-8.2.zip

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

    pentahog构建调试

    Pentaho8.1.0.3和pentaho-cde源码在eclipse中的构建及调试,

    在Linux上安装pentaho bi-server

    在Linux上安装pentaho bi-server

    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, ...

    pentaho.rar

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

Global site tag (gtag.js) - Google Analytics