Share This:

Hi!,

 

BMC does not support running Spoon in Linux, although we know it is quite possible from the Pentaho forums to do it.

What problems did you encounter when running Spoon in Linux (if you ever tried)?

 

Here is an issue we recently observed:

 

Short explanation: The culprit of the original error is that the /tmp filesystem had the “no_exec” option set to true, which kept any app to execute scripts there

 

Long explanation:

1) Replace the swt.jar from the BMC Pentaho's distribution (which is version 3.346 and located in "/opt/bmc/ARSystem/diserver/data-integration/libswt/linux/x86_64") by the distribution we downloaded from : https://www.eclipse.org/swt/ (version 4.527)

 

2) edited spoon.sh (in /opt/bmc/ARSystem/diserver/data-integration folder) and substituted:

 

OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=/opt/bmc/ARSystem/diserver -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT"

 

by :

 

OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Xbootclasspath/a:${LIBPATH}swt.jar -Djava.library.path=$LIBPATH -DKETTLE_HOME=/opt/bmc/ARSystem/diserver -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT"

 

(the only difference is  -Xbootclasspath/a:${LIBPATH}swt.jar, the reason why is based on: http://stackoverflow.com/questions/19969637/noclassdeffounderror-classnotfoundexception-while-using-swt)

 

3) Started Pentaho Spoon:

 

cd /opt/bmc/ARSystem/diserver/data-integration

./spoon.sh

 

-------------------------------------

There are more experiences here: Diethard Steiner on Business Intelligence: Having problems starting Pentaho Kettle Spoon on Linux? Here are some solutio…

 

Can you share yours?