標籤:配置 -- try while size xms blog http 啟動報錯
開源免費--最喜歡的四個字沒有之一
1.官網下載 https://sourceforge.net/projects/pentaho/files/Data%20Integration/
下載完後,解壓即可,雙擊Spoon.bat就可以啟動了。
2. 配置JVM及記憶體配置問題
自行配置 參考: https://www.cnblogs.com/shinge/p/5500002.html
3. 如果啟動報錯“could not create the java virtual machine”,並不是java虛擬機器出了問題,需要修改下的spoon.bat裡記憶體配置
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms2058m" "-Xmx1024m" "-XX:MaxPermSize=256m"
改為
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx512m" "-XX:MaxPermSize=256m"
如果電腦記憶體小於4G,建議可以再小一些.
4. 如果啟動繼續報錯,"A java exception has occurred" ,可以考慮下載的Kettle版本是否與你JDK匹配,
例如: pdi-ce-7.1.0.0-12版本對應JDK1.8
3.串連資料庫找不到驅動問題(MySql為例)
提示錯誤[mysql] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Driver class ‘org.gjt.mm.mysql.Driver‘ could not be found, make sure the ‘MySQL‘ driver (jar file) is installed.
org.gjt.mm.mysql.Driver
解決辦法:把mysql-connector-java-5.1.37-bin.jar拷貝到 \\pdi-ce-6.0.1.0-386\data-integration\lib下面,然後重新啟動spoon即可。
Kettle啟動時報錯Cannot create java virtual machine & A java exception has occurred