Hi,
My aim is to run a KNIME workflow using the linux terminal. To do so, I run the following command:
./knime -nosplash -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“/home/cloudera/knime_demo/Knime_Project”
I get the following error stored as a log:>
!SESSION 2019-11-27 14:13:54.367 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_202
java.vendor=AdoptOpenJdk
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -application org.knime.product.KNIME_BATCH_APPLICATION<200b> -workflowDir=/home/cloudera/knime_demo/High_Admission_Final
Command-line arguments: -os linux -ws gtk -arch x86_64 -application org.knime.product.KNIME_BATCH_APPLICATION<200b> -workflowDir=/home/cloudera/knime_demo/Knime_Project!ENTRY org.eclipse.osgi 4 0 2019-11-27 14:13:55.577
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application “org.knime.product.KNIME_BATCH_APPLICATION<200b>” could not be found in the registry. The applications available are: com.knime.enterprise.client.filesystem.KNIME_WORKFLOW_DOWNLOADER, com.knime.enterprise.client.filesystem.KNIME_WORKFLOW_UPLOADER, org.eclipse.ant.core.antRunner, org.eclipse.birt.report.engine.ReportExecutor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.ui.ide.workbench, org.knime.product.KNIME_APPLICATION, org.knime.product.KNIME_BATCH_APPLICATION, org.knime.product.KNIME_PROTOCOL_APPLICATION, org.knime.workbench.help.KNIME_Documentation_Builder, org.knime.workbench.repository.NodeDocumentationGenerator, org.knime.workbench.repository.Nodalizer.
at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
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:653)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
at org.eclipse.equinox.launcher.Main.main(Main.java:1472)
My version of KNIME is 4.0.2 (Latest version as of 11/27/2019), and I’m on CentOS 7. I request assistance in getting this working.