Kettle win11 startup flashback--startup log

1. Start flashback

Ideas:

  1. find the reason
  2. find startup log
  3. Check the cause of the startup failure according to the startup log

Second, find the startup log

  1. Start in debug mode
    insert image description here
  2. Check the console – operate according to the console

insert image description here

  1. Look at the generated startup log file
    insert image description here

  2. view log
    insert image description here

DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=E:\java8
DEBUG: _PENTAHO_JAVA=E:\java8\bin\java.exe

E:\kettle\data-integration>"E:\java8\bin\java.exe"   "-Xms1024m" "-Xmx2048m" "-Djava.library.path=libswt\win32;/bin" "-Djava.endorsed.dirs=E:\java8\jre\lib\endorsed;E:\java8\lib\endorsed;E:\kettle\data-integration\system\karaf\lib\endorsed"  "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\launcher.jar -lib ..\libswt\win32  /level:Debug 
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
  1. translate
    insert image description here
  2. Modify the spoon.bat file
    insert image description here
    and make it smaller
    insert image description here
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms512m" "-Xmx512m"
  1. Start the debug mode again – check the log
    insert image description here
    8. Baidu
    modify the following information:
    Before modification
    insert image description here
    , check how many bits of jdk you have installed.
    insert image description here
    My jdk is 32 bits
    . Change:
    insert image description here
  2. next bug
    insert image description here
  3. I checked the information and found no solution, but I was reminded that it may be a problem with the jdk version, so I re-downloaded jdk1.8 from the official website decisively

insert image description here
And modify the original configuration back
insert image description here

  1. Start successfully

insert image description here

3. Summary

  1. Many people will encounter the exception of memory overflow
  2. Environment variables are not configured properly
  3. The number of jdk digits is inconsistent with that used by kettle
  4. In other cases, it is largely a jdk version problem, you can uninstall and try another version

Guess you like

Origin blog.csdn.net/qq_44798321/article/details/130652493