我从我的java应用程序中调用了一个Knime批处理,但他总是返回这个:Knime我试图找到对我有帮助的东西,但我不明白。所以64位和32位不同的Java类型有什么问题吗?谢谢你的帮助。
错误消息
Java was started but returndes exit code =4
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock = classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dknime.enable.fastload=true
-XX.CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx512m
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dsun.awt.noerasebackground=true
-Djava.class.path=E:\KNIME\\plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher E:\KNIM\knime.exe
-name Knime
-launcher libary
E:\KNIME\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417\eclipse_1611.dll
-startup
-E:\KNIME\\plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
-launcher.overrideVmargs
-application org.knime.product.KNIME_BATCH_APPLICATION
-workflowFile=C:\myFile.zip
-vm E:\KNIME\jre\bin\client\jvm.dll
-vmargs
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dknime.enable.fastload=true
-XX.CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx512m
-Dorg.eclipse.swt.browser.IEVersion=10001
-Dsun.awt.noerasebackground=true
-Djava.class.path=E:\KNIME\\plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar 发布于 2016-03-23 21:13:25
这意味着你的工作流程中有一个错误。将.zip文件展开到一个目录中,并使用-workflowDir选项执行它。从那里你可以在无头模式下执行KNIME,如果/当出现错误时,你将能够在普通KNIME中重新打开工作流,并看到给你带来问题的节点。
发布于 2018-07-03 19:44:08
回复可能有点晚了,但以防有人发现这篇文章。
Knime有一种在工作流运行时锁定工作流的机制。因此,您不能同时运行同一工作流的多个实例。
为了运行knime工作流,您需要将其导出。将其保存为压缩文件,并使用选项workflowFile而不是workflowDir运行它。更多信息here
https://stackoverflow.com/questions/36136331
复制相似问题