<div dir="ltr">Thanks for the responses. I'm sorry I didn't post the stack trace up front. I've added it to the end of this e-mail.<div><br></div><div>I'm not running more than one instance of Kepler, and I'm not (intentionally) using HSQL at all. I find that this happens only when running on OSX, I have cygwin installs (same revision number) that close just fine... Thanks for your time.</div>
<div><br></div><div>J</div><div><br></div><div>stack trace below...<div><div>java.sql.SQLException: socket creation error</div><div><span class="" style="white-space:pre">     </span>at org.hsqldb.jdbc.Util.sqlException(Unknown Source)</div>
<div><span class="" style="white-space:pre">    </span>at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)</div><div><span class="" style="white-space:pre">     </span>at org.hsqldb.jdbcDriver.getConnection(Unknown Source)</div>
<div><span class="" style="white-space:pre">    </span>at org.hsqldb.jdbcDriver.connect(Unknown Source)</div><div><span class="" style="white-space:pre">   </span>at java.sql.DriverManager.getConnection(DriverManager.java:579)</div>
<div><span class="" style="white-space:pre">    </span>at java.sql.DriverManager.getConnection(DriverManager.java:221)</div><div><span class="" style="white-space:pre">    </span>at org.kepler.util.sql.HSQL._getConnectionForServer(HSQL.java:837)</div>
<div><span class="" style="white-space:pre">    </span>at org.kepler.util.sql.HSQL.shutdownServers(HSQL.java:338)</div><div><span class="" style="white-space:pre"> </span>at org.kepler.module.core.Shutdown.shutdownModule(Shutdown.java:56)</div>
<div><span class="" style="white-space:pre">    </span>at org.kepler.Kepler._initializeModules(Kepler.java:704)</div><div><span class="" style="white-space:pre">   </span>at org.kepler.Kepler.access$100(Kepler.java:88)</div><div>
<span class="" style="white-space:pre">       </span>at org.kepler.Kepler$Shutdown.shutdown(Kepler.java:880)</div><div><span class="" style="white-space:pre">    </span>at org.kepler.util.ShutdownNotifier.shutdown(ShutdownNotifier.java:46)</div>
<div><span class="" style="white-space:pre">    </span>at org.kepler.gui.KeplerGraphFrame.dispose(KeplerGraphFrame.java:201)</div><div><span class="" style="white-space:pre">      </span>at ptolemy.actor.gui.TableauFrame._close(TableauFrame.java:722)</div>
<div><span class="" style="white-space:pre">    </span>at ptolemy.actor.gui.PtolemyFrame._close(PtolemyFrame.java:286)</div><div><span class="" style="white-space:pre">    </span>at ptolemy.vergil.basic.BasicGraphFrame._close(BasicGraphFrame.java:2078)</div>
<div><span class="" style="white-space:pre">    </span>at ptolemy.vergil.basic.ExtendedGraphFrame._close(ExtendedGraphFrame.java:248)</div><div><span class="" style="white-space:pre">     </span>at ptolemy.vergil.actor.ActorGraphFrame._close(ActorGraphFrame.java:380)</div>
<div><span class="" style="white-space:pre">    </span>at ptolemy.gui.Top$CloseWindowAdapter.windowClosing(Top.java:1955)</div><div><span class="" style="white-space:pre"> </span>at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)</div><div><span class="" style="white-space:pre">        </span>at java.awt.Window.processWindowEvent(Window.java:2051)</div>
<div><span class="" style="white-space:pre">    </span>at javax.swing.JFrame.processWindowEvent(JFrame.java:296)</div><div><span class="" style="white-space:pre">  </span>at java.awt.Window.processEvent(Window.java:2009)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.Component.dispatchEventImpl(Component.java:4861)</div><div><span class="" style="white-space:pre">       </span>at java.awt.Container.dispatchEventImpl(Container.java:2287)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.Window.dispatchEventImpl(Window.java:2719)</div><div><span class="" style="white-space:pre">     </span>at java.awt.Component.dispatchEvent(Component.java:4687)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)</div><div><span class="" style="white-space:pre">      </span>at java.awt.EventQueue.access$200(EventQueue.java:103)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventQueue$3.run(EventQueue.java:688)</div><div><span class="" style="white-space:pre">  </span>at java.awt.EventQueue$3.run(EventQueue.java:686)</div><div><span class="" style="white-space:pre">  </span>at java.security.AccessController.doPrivileged(Native Method)</div>
<div><span class="" style="white-space:pre">    </span>at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)</div><div><span class="" style="white-space:pre">      </span>at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventQueue$4.run(EventQueue.java:702)</div><div><span class="" style="white-space:pre">  </span>at java.awt.EventQueue$4.run(EventQueue.java:700)</div><div><span class="" style="white-space:pre">  </span>at java.security.AccessController.doPrivileged(Native Method)</div>
<div><span class="" style="white-space:pre">    </span>at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)</div><div><span class="" style="white-space:pre">      </span>at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)</div><div><span class="" style="white-space:pre">       </span>at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)</div><div><span class="" style="white-space:pre">       </span>at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)</div>
<div><span class="" style="white-space:pre">    </span>at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)</div><div><span class="" style="white-space:pre">   </span>at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)</div>
</div></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div>---------------------------------<br>Jonathan Boright<br>Research Scientist<br>ISciences, LLC<br>61 Main Street, Suite 200<br>
Burlington, VT 05401<br>802 864-2999<br><a href="mailto:boright@isciences.com" target="_blank">boright@isciences.com</a><br><a href="http://www.isciences.com" target="_blank">http://www.isciences.com</a><br><a href="http://www.terraviva.net" target="_blank">http://www.terraviva.net</a></div>

<br><br><div class="gmail_quote">On Fri, Oct 25, 2013 at 3:18 PM, Daniel Crawl <span dir="ltr"><<a href="mailto:danielcrawl@gmail.com" target="_blank">danielcrawl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Jon,<br>
<br>
Are you running multiple instances of Kepler?<br>
<br>
This error occurs when multiple instances are started, and the first<br>
instance is not closed last. You can avoid this problem by running<br>
the HSQL databases in a separate process. First run:<br>
<br>
kepler.sh -hsql start<br>
<br>
then start the Kepler instances. When you are done, exit all the<br>
instances, and run:<br>
<br>
kepler.sh -hsql stop<br>
<br>
<br>
  --dan<div class="im"><br>
<br>
<br>
<br>
On 10/25/13 11:55 AM, Jonathan Boright wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi all,<br>
<br>
I seem to be having trouble closing down Kepler. When I attempt to close<br>
Kepler (either file/quit, or closing the last open workflow window) The<br>
system hangs for a while and then gives the following message:<br>
[image: Inline image 1]<br>
I'm working on the stable 2.4 branch built on OSx Mountain Lion. I recently<br>
updated (ant update). Build info below:<br>
<br>
.../build-area$ svn info<br>
URL:<br>
<a href="https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.4" target="_blank">https://code.kepler-project.<u></u>org/code/kepler/releases/<u></u>release-branches/build-area-2.<u></u>4</a><br>

Repository Root: <a href="https://code.kepler-project.org/code/kepler" target="_blank">https://code.kepler-project.<u></u>org/code/kepler</a><br>
Repository UUID: edc41a2b-3e5c-0410-9d3f-<u></u>8540a70682f1<br>
Revision: 32509<br>
Node Kind: directory<br>
Schedule: normal<br>
Last Changed Author: jianwu<br>
Last Changed Rev: 32503<br>
Last Changed Date: 2013-10-21 18:53:14 -0400 (Mon, 21 Oct 2013)<br>
<br>
Any ideas?<br>
<br>
Thanks<br>
<br>
Jon<br>
<br>
------------------------------<u></u>---<br>
Jonathan Boright<br>
Research Scientist<br>
ISciences, LLC<br>
<br>
<br>
<br></div></div><div class="im">
______________________________<u></u>_________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org" target="_blank">Kepler-users@kepler-project.<u></u>org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/<u></u>kepler/mailman/listinfo/<u></u>kepler-users</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>