Batch executes and stops (Error / Java Exception)

Hi there,
currently I try to run my workflow by a batch but had no success so far (build 4.2.3).

inside my batch it looks like the following:

“C:\Program Files\KNIME\knime.exe” -noexit -nosplash -reset --launcher.suppressErrors -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“C:\KNIME\data_to_file”

When I run the batch the program throws the following exception:

ERROR KNIME-ConfigurationArea-Checker ConfigurationAreaChecker Can’t check integrity of configuration area (“C:\Program Files\KNIME\configuration”): Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat
java.io.IOException: Der Prozess kann nicht auf die Datei zugreifen, da ein anderer Prozess einen Teil der Datei gesperrt hat
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)

(I´ve no clue why there´s something not accessable)

When I exclude --launcher.suppressErrors Java exits whit this message:

Any ideas how I can fix this?

Hi @john678,

do you have knime still open when running the batch?
You cannot run batch mode in parallel with knime.
As well you cannot run multiple batches at once.

Else try to restart the machine and directly start the batch once -without opening knime or running another batch.
Do you still get the error?

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