1

我从我的 java 应用程序中调用了一个 Knime Batch,但他总是返回这个: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 
4

2 回答 2

0

回复可能有点晚,但以防万一有人发现这篇文章。

Knime 有一种机制可以在运行时锁定工作流程。因此,您不能同时运行同一工作流的多个实例。

为了运行 knime 工作流程,您需要将其导出。将其保存为 zip 文件并使用选项 workflowFile 而不是 workflowDir 运行它。更多信息在这里

于 2018-07-03T11:44:07.563 回答
0

这意味着您的工作流程中存在错误。将 .zip 文件展开到一个目录中并使用 -workflowDir 选项来执行它。从那里您可以在无头模式下执行 KNIME,如果/当出现错误时,您将能够在正常 KNIME 中重新打开工作流并查看给您带来问题的节点。

于 2016-03-23T13:13:24.907 回答