<html>
<head>
<style>
body {
font-family: Verdana, sans-serif;
font-size: 0.8em;
color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
width: 100%;
height: 1px;
background: #ccc;
border: 0;
}
.footer {
font-size: 0.8em;
font-style: italic;
}
</style>
</head>
<body>
<span class="header"></span>
Issue #6571 has been reported by jianwu jianwu.
<hr />
<h1><a href="https://projects.ecoinformatics.org/ecoinfo/issues/6571">Bug #6571: Kepler command line execution won't exit if the parameter to be set in command line does not exist in the workflow.</a></h1>
<ul>
<li>Author: jianwu jianwu</li>
<li>Status: New</li>
<li>Priority: Normal</li>
<li>Assignee: Daniel Crawl</li>
<li>Category: core</li>
<li>Target version: </li>
<li>Bugzilla-Id: </li>
</ul>
<p>I got the same behavior for both -nocache and -cache option. I have to use Ctrl + C to kill the process.</p>
<p>Para111 in the following example is not defined in the workflow.</p>
<p>If the parameters exist in the workflow but the workflow execution goes wrong, the whole command can still exit.</p>
<p>---Console output for command line execution---<br />./kepler.sh -runwf -nogui -nocache -Para111 d /Users/jianwu/Dropbox/Hackathon-June2014/E3-Read-Text-File/solution.xml<br />The base dir is /Users/jianwu/Kepler/repository/kepler-trunk-svn<br />...<br /> [null] start of workflow-scheduler-gui module initializing<br /> [null] common tabpane configuration overridden by workflow-run-manager<br /> [null] INFO (org.kepler.util.sql.HSQL:_getConnection:654) started HSQL server at jdbc:hsqldb:hsql://localhost:56060/provenanceDB;filepath=hsqldb:file:/Users/jianwu/KeplerData/modules/provenance/provenanceDB<br /> [null] common tabpane configuration overridden by reporting<br /> [null] Unable to start application.<br /> [null] java.lang.Exception: Failed to parse "ptolemy/configs/kepler/ConfigNoGUINoCache.xml -runThenExit -Para111 d /Users/jianwu/Dropbox/Hackathon-June2014/E3-Read-Text-File/solution.xml" <br /> [null] at ptolemy.actor.gui.Configurati
onApplication.throwArgsException(ConfigurationApplication.java:845)<br /> [null] at org.kepler.KeplerConfigurationApplication.<init>(KeplerConfigurationApplication.java:388)<br /> [null] at org.kepler.Kepler.load(Kepler.java:527)<br /> [null] at org.kepler.Kepler.load(Kepler.java:571)<br /> [null] at org.kepler.Kepler.runApplication(Kepler.java:451)<br /> [null] at org.kepler.Kepler.main(Kepler.java:242)<br /> [null] Caused by: ptolemy.kernel.util.IllegalActionException: Unrecognized option: No parameter exists with name Para111<br /> [null] at org.kepler.KeplerConfigurationApplication._setParameters(KeplerConfigurationApplication.java:712)<br /> [null] at org.kepler.KeplerConfigurationApplication.<init>(KeplerConfigurationApplication.java:336)<br /> [null] ... 4 more</p>
<p>---JVM stacktrace using Ctrl + \ ---<br />^\2014-06-16 11:56:42<br />Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.65-b04-462 mixed mode):</p>
<p>"Thread-4" daemon prio=5 tid=101aaa000 nid=0x10accb000 runnable [10acca000]<br /> java.lang.Thread.State: RUNNABLE<br /> at java.io.FileInputStream.readBytes(Native Method)<br /> at java.io.FileInputStream.read(FileInputStream.java:198)<br /> at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:218)<br /> at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)<br /> at java.lang.Thread.run(Thread.java:695)</p>
<p>"Thread-3" daemon prio=5 tid=101a7e800 nid=0x10abc8000 runnable [10abc7000]<br /> java.lang.Thread.State: RUNNABLE<br /> at java.io.FileInputStream.readBytes(Native Method)<br /> at java.io.FileInputStream.read(FileInputStream.java:220)<br /> at java.lang.UNIXProcess$DeferredCloseInputStream.read(UNIXProcess.java:227)<br /> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)<br /> at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)<br /> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)<br /> - locked <7f40a2160> (a java.io.BufferedInputStream)<br /> at java.io.FilterInputStream.read(FilterInputStream.java:90)<br /> at org.apache.tools.ant.taskdefs.StreamPumper.run(StreamPumper.java:92)<br /> at java.lang.Thread.run(Thread.java:695)</p>
<p>"process reaper" daemon prio=5 tid=101bbc000 nid=0x10a81a000 runnable [10a819000]<br /> java.lang.Thread.State: RUNNABLE<br /> at java.lang.UNIXProcess.waitForProcessExit(Native Method)<br /> at java.lang.UNIXProcess.access$900(UNIXProcess.java:17)<br /> at java.lang.UNIXProcess$2$1.run(UNIXProcess.java:86)</p>
<p>"Low Memory Detector" daemon prio=5 tid=1030a8800 nid=0x10a20d000 runnable [00000000]<br /> java.lang.Thread.State: RUNNABLE</p>
<p>"C2 CompilerThread1" daemon prio=9 tid=1030a8000 nid=0x10a10a000 waiting on condition [00000000]<br /> java.lang.Thread.State: RUNNABLE</p>
<p>"C2 CompilerThread0" daemon prio=9 tid=1030a7000 nid=0x10a007000 waiting on condition [00000000]<br /> java.lang.Thread.State: RUNNABLE</p>
<p>"Signal Dispatcher" daemon prio=9 tid=1030a6800 nid=0x109f04000 waiting on condition [00000000]<br /> java.lang.Thread.State: RUNNABLE</p>
<p>"Surrogate Locker Thread (Concurrent GC)" daemon prio=5 tid=1030a5800 nid=0x109e01000 waiting on condition [00000000]<br /> java.lang.Thread.State: RUNNABLE</p>
<p>"Finalizer" daemon prio=8 tid=101801800 nid=0x1098ec000 in Object.wait() [1098eb000]<br /> java.lang.Thread.State: WAITING (on object monitor)<br /> at java.lang.Object.wait(Native Method)<br /> - waiting on <7f44e2ee0> (a java.lang.ref.ReferenceQueue$Lock)<br /> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)<br /> - locked <7f44e2ee0> (a java.lang.ref.ReferenceQueue$Lock)<br /> at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)<br /> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:171)</p>
<p>"Reference Handler" daemon prio=10 tid=10309b000 nid=0x1097e9000 in Object.wait() [1097e8000]<br /> java.lang.Thread.State: WAITING (on object monitor)<br /> at java.lang.Object.wait(Native Method)<br /> - waiting on <7f44e0848> (a java.lang.ref.Reference$Lock)<br /> at java.lang.Object.wait(Object.java:485)<br /> at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)<br /> - locked <7f44e0848> (a java.lang.ref.Reference$Lock)</p>
<p>"main" prio=5 tid=103000800 nid=0x100501000 in Object.wait() [100500000]<br /> java.lang.Thread.State: WAITING (on object monitor)<br /> at java.lang.Object.wait(Native Method)<br /> - waiting on <7f40cedc8> (a java.lang.UNIXProcess)<br /> at java.lang.Object.wait(Object.java:485)<br /> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:115)<br /> - locked <7f40cedc8> (a java.lang.UNIXProcess)<br /> at org.apache.tools.ant.taskdefs.Execute.waitFor(Execute.java:551)<br /> at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:482)<br /> at org.apache.tools.ant.taskdefs.Java.fork(Java.java:784)<br /> at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:211)<br /> at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)<br /> at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)<br /> at org.kepler.build.Run.runSuite(Run.java:364)<br /> at org.kepler.build.Run.run(Run.java:235)<br /> at org.k
epler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br /> at org.kepler.build.runner.Kepler.run(Kepler.java:266)<br /> at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:102)<br /> at org.kepler.build.runner.Kepler.main(Kepler.java:109)</p>
<p>"VM Thread" prio=9 tid=103096000 nid=0x1096e6000 runnable</p>
<p>"Gang worker#0 (Parallel GC Threads)" prio=9 tid=103002000 nid=0x102201000 runnable</p>
<p>"Gang worker#1 (Parallel GC Threads)" prio=9 tid=103002800 nid=0x102304000 runnable</p>
<p>"Concurrent Mark-Sweep GC Thread" prio=9 tid=10304d000 nid=0x1093f0000 runnable <br />"VM Periodic Task Thread" prio=10 tid=1030ba800 nid=0x10a310000 waiting on condition</p>
<p>"Exception Catcher Thread" prio=10 tid=103001800 nid=0x1017fe000 runnable <br />JNI global references: 1341</p>
<p>Heap<br /> par new generation total 19136K, used 2087K [7f3000000, 7f44c0000, 7f44c0000)<br /> eden space 17024K, 8% used [7f3000000, 7f317d228, 7f40a0000)<br /> from space 2112K, 26% used [7f40a0000, 7f412ca40, 7f42b0000)<br /> to space 2112K, 0% used [7f42b0000, 7f42b0000, 7f44c0000)<br /> concurrent mark-sweep generation total 63872K, used 1148K [7f44c0000, 7f8320000, 7fae00000)<br /> concurrent-mark-sweep perm gen total 21248K, used 7839K [7fae00000, 7fc2c0000, 800000000)</p>
<pre><code>[null] 2014-06-16 11:56:42<br /> [null] Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.65-b04-462 mixed mode):<br /> [null] <br /> [null] "DestroyJavaVM" prio=5 tid=101801000 nid=0x100501000 waiting on condition [00000000]<br /> [null] java.lang.Thread.State: RUNNABLE<br /> [null] <br /> [null] "HSQLDB Connection @690bc995" prio=5 tid=10aff7000 nid=0x10d70f000 runnable [10d70e000]<br /> [null] java.lang.Thread.State: RUNNABLE<br /> [null] at java.net.SocketInputStream.socketRead0(Native Method)<br /> [null] at java.net.SocketInputStream.read(SocketInputStream.java:129)<br /> [null] at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)<br /> [null] at java.io.BufferedInputStream.read(BufferedInputStream.java:237)<br /> [null] - locked <7cd8c9b48> (a java.io.BufferedInputStream)<br /> [null] at java.io.DataInputStream.readInt(DataInputStream.java:370)<
br /> [null] at org.hsqldb.Result.read(Unknown Source)<br /> [null] at org.hsqldb.ServerConnection.run(Unknown Source)<br />....</code></pre>
<hr />
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="https://projects.ecoinformatics.org/ecoinfo/my/account">https://projects.ecoinformatics.org/ecoinfo/my/account</a></p></span>
</body>
</html>