首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Knime Batchmode : Java返回退出代码4

Knime Batchmode : Java返回退出代码4
EN

Stack Overflow用户
提问于 2016-03-22 00:17:30
回答 2查看 3.8K关注 0票数 1

我从我的java应用程序中调用了一个Knime批处理,但他总是返回这个:Knime我试图找到对我有帮助的东西,但我不明白。所以64位和32位不同的Java类型有什么问题吗?谢谢你的帮助。

错误消息

代码语言:javascript
复制
    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 
EN

回答 2

Stack Overflow用户

发布于 2016-03-23 21:13:25

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

票数 0
EN

Stack Overflow用户

发布于 2018-07-03 19:44:08

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

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36136331

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档