Hi All,
I’m getting the Knime ConfigurationAreaChecker Error while executing multiple Knime jobs in parallel from the backend using the below command
“C:\Softwares\KNIME\knimec.exe” --launcher.suppressErrors -consoleLog -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“E:\KNIME_PRODUCTION\WORKFLOWS\SCAL_DLY_INV” > E:\KNIME_PRODUCTION\LOGS\SCAL_DLY_INV.log
“C:\Softwares\KNIME\knimec.exe” --launcher.suppressErrors -consoleLog -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“E:\KNIME_PRODUCTION\WORKFLOWS\NCAL_DLY_INV” > E:\KNIME_PRODUCTION\LOGS\NCAL_DLY_INV.log
Both the jobs are completing and creating the needed output files but I wanted the script command to return a successful return code as I’m planning to run another job following the successful execution of above command.
How can I resolve this error ?
ERROR KNIME-ConfigurationArea-Checker ConfigurationAreaChecker Can’t check integrity of configuration area (“C:\Softwares\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 java.base/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at java.base/sun.nio.ch.FileDispatcherImpl.write(Unknown Source)
at java.base/sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source)
at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
at java.base/sun.nio.ch.FileChannelImpl.write(Unknown Source)
at org.knime.core.internal.ConfigurationAreaChecker.lambda$0(ConfigurationAreaChecker.java:135)
at java.base/java.lang.Thread.run(Unknown Source)