Spoon and Carte Server are using the system's default java, and if that Java is removed or upgraded, Spoon or Carte Server may stop working. How can one configure the new Java for these 2 processes? |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Legacy ID:KA397186 CMDB 20.02 and above:Carte server is now run as part of Armonitor process. Edit the line: "C:\Program Files\Java\jre7\bin\java.exe" -Xmx1024m "-Djava.ext.dirs=C:\Program Files\Java\jre7\lib\ext;C:\Program Files\Java\jre7\lib;C:\Program Files\BMC Software\ARSystem\diserver\data-integration;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\lib;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\JDBC;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\webservices;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\spring;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\commons;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\web;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\pentaho;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\mondrian;C:\Program Files\BMC Software\ARSystem\diserver\data-integration\libext\salesforce" "-Dorg.mortbay.util.URI.charset=UTF-8" "-DKETTLE_HOME=C:\Program Files\BMC Software\ARSystem\diserver" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_MAX_LOG_SIZE_IN_LINES=5000" org.pentaho.di.www.Carte ARSHOST_ALIAS 20000 -i "C:\Program Files\BMC Software\ARSystem" Set the java to the correct JAVA path. In that same line you can also change the java option, like -Xmx parameter. We recommend setting it to 2048M if you expect to process more than 10000 records. Spoon in 20.02 version and above: In 20.02 and above Spoon uses the same java configured under the _PENTAHO_JAVA system variable. Otherwise it will use whatever java is in your path first. start "Spoon" "%_PENTAHO_JAVA%" %OPT% -jar launcher\launcher.jar -lib ..\%LIBSPATH% %_cmdline% You can use the variable to set the java to use, or otherwise change the file to set the path directly. If you need to setup the -Xmx then edit the line: if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xmx512m" "-XX:MaxPermSize=256m" |