knime batch processing

Trying to use KNIME (4.3.2) on windows 10 executing a workflow. I issue the command: “C:\Program Files\KNIME\knime.exe” -consolelog -launcher.suppressErrors -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“C:\Users\vandeje1\knime-workspace\dev\Load_AD/Load_AD” -os win32 -arch x86_64 but get back an error. I have searched the net and see similar errors but really don’t see a solution.

Any ideas?
Jeff


and
CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot
Jun 08, 2021 7:38:00 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-frontend-jaxrs (187) [org.apache.cxf.jaxrs.JAXRSBindingFactory]
Jun 08, 2021 7:38:00 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http (190) [org.apache.cxf.transport.http.HTTPTransportFactory, org.apache.cxf.transport.http.HTTPWSDLExtensionLoader, org.apache.cxf.transport.http.policy.HTTPClientAssertionBuilder, org.apache.cxf.transport.http.policy.HTTPServerAssertionBuilder, org.apache.cxf.transport.http.policy.NoOpPolicyInterceptorProvider]
Jun 08, 2021 7:38:00 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener addExtensions
INFO: Adding the extensions from bundle org.apache.cxf.cxf-rt-transports-http-hc (191) [org.apache.cxf.transport.http.HTTPConduitFactory, org.apache.cxf.transport.ConduitInitiator]
ERROR main BatchExecutor Unknown option ‘-launcher.suppressErrors’
org.knime.core.node.workflow.BatchExecutor$IllegalOptionException: Unknown option ‘-launcher.suppressErrors’
at org.knime.core.node.workflow.BatchExecutor.handleCommandlineArgument(BatchExecutor.java:595)
at org.knime.core.node.workflow.BatchExecutor.parseConfigFromArguments(BatchExecutor.java:462)
at org.knime.core.node.workflow.BatchExecutor.processArguments(BatchExecutor.java:443)
at org.knime.core.node.workflow.BatchExecutor.(BatchExecutor.java:413)
at org.knime.core.node.workflow.BatchExecutor.mainRun(BatchExecutor.java:670)
at org.knime.product.headless.KNIMEBatchApplication.runBatchExecutor(KNIMEBatchApplication.java:127)
at org.knime.product.headless.KNIMEBatchApplication.start(KNIMEBatchApplication.java:80)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
Jun 08, 2021 7:38:01 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 187
Jun 08, 2021 7:38:01 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 190
Jun 08, 2021 7:38:01 AM org.apache.cxf.bus.osgi.CXFExtensionBundleListener unregister
INFO: Removing the extensions for bundle 191
ERROR KNIME-ConfigurationArea-Checker ConfigurationAreaChecker Can’t check integrity of configuration area (“C:\Program Files\KNIME\configuration”): The process cannot access the file because another process has locked a portion of the file
java.io.IOException: The process cannot access the file because another process has locked a portion of the file
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:75)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
at org.knime.core.internal.ConfigurationAreaChecker.lambda$0(ConfigurationAreaChecker.java:135)
at java.lang.Thread.run(Thread.java:748)

Hi @Jeff,

can you try removing the -launcher.suppressErrors option? It seems to not get recognized:

ERROR main BatchExecutor Unknown option ‘-launcher.suppressErrors’
org.knime.core.node.workflow.BatchExecutor$IllegalOptionException: Unknown option ‘-launcher.suppressErrors’

best,
Gabriel

Hi @Jeff , any reason why your workflowDir is:
C:\Users\vandeje1\knime-workspace\dev\Load_AD/Load_AD
instead of:
C:\Users\vandeje1\knime-workspace\dev\Load_AD\Load_AD
?

In terms of the -launcher.suppressErrors option, it should be --launcher.suppressErrors instead (notice the double dash).

It’s explained here:
https://www.knime.com/faq

–launcher.suppressErrors

If this is specified, then the launcher will not display a message box with errors if a problem was encountered. This allows the launcher to be used in unattended tests or builds without blocking on an error.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.