Workflow fails in batch but executes within KNIME

Hello,

I have a workflow that executes from within KNIME just fine, but fails when I try to execute in batch mode.

batch details as follows:
"/Applications/KNIME 3.3.2.app/Contents/MacOS/Knime" -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -consoleLog -nosave -noexit -reset -workflowDir="/Users/user_name/working/knime/ckm" > ckm_log 2> ckm_log

ckm_log file:
2017-10-13 10:43:09.345 Knime[8247:691290] [JRSAppKitAWT markAppIsDaemon]: Process manager already initialized: can't fully enable headless mode.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
INFO      main BatchExecutor     Workflow execution done Finished in 1 min, 42 secs (102327ms)
INFO      main BatchExecutor     ========= Workflow did not execute sucessfully ============

Java alert (opens after output files from workflow write):

Java was started but returned exit code=4
-Dorg.knime.container.cellsinmemory=1000
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx8g
-XstartOnFirstThread
-Xdock:icon=../Resources/Knime.icns
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Djava.class.path=/Applications/KNIME 3.3.2.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
-os macosx
-ws cocoa
-arch x86_64
-launcher /Applications/KNIME 3.3.2.app/Contents/MacOS/Knime
-name Knime
--launcher.library /Applications/KNIME 3.3.2.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.400.v20160518-1444/eclipse_1615.so
-startup /Applications/KNIME 3.3.2.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.overrideVmargs
-application org.knime.product.KNIME_BATCH_APPLICATION
-consoleLog
-nosave
-noexit
-reset
-workflowDir=/Users/ekorne201/working/knime/ckm
-vm /Applications/KNIME 3.3.2.app/Contents/Eclipse/jre/Home/lib/jli/libjli.dylib
-vmargs
-Dorg.knime.container.cellsinmemory=1000
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx8g
-XstartOnFirstThread
-Xdock:icon=../Resources/Knime.icns
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Djava.class.path=/Applications/KNIME 3.3.2.app/Contents/MacOS//../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar 

I would appreciate review and thoughts on what is happening.

Thanks!

1 Like

Hi Erik,

Could you please post your workflow here so that we can try to reproduce this? Have you been able to execute other workflows in batch mode?

Cheers,

Roland