[kepler-users] Trouble closing down Kepler Release

Daniel Crawl danielcrawl at gmail.com
Fri Oct 25 13:32:55 PDT 2013


What does Kepler print to the terminal when it starts? Can you
send me the full output?

Does it print something like:

INFO  (org.kepler.util.sql.HSQL:_getConnection:654) started HSQL server 
at jdbc:hsqldb:hsql://localhost:.....

If you don't see this, then Kepler is connecting to an HSQL server
running in another process.

Does the error message always occur when you quit Kepler or only
sometimes?

You could try deleting $HOME/.kepler and renaming
$HOME/KeplerData/modules to something else.

   --dan


On 10/25/13 12:32 PM, Jonathan Boright wrote:
> 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.
>
> 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.
>
> J
>
> stack trace below...
> java.sql.SQLException: socket creation error
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
> at java.sql.DriverManager.getConnection(DriverManager.java:579)
> at java.sql.DriverManager.getConnection(DriverManager.java:221)
> at org.kepler.util.sql.HSQL._getConnectionForServer(HSQL.java:837)
> at org.kepler.util.sql.HSQL.shutdownServers(HSQL.java:338)
> at org.kepler.module.core.Shutdown.shutdownModule(Shutdown.java:56)
> at org.kepler.Kepler._initializeModules(Kepler.java:704)
> at org.kepler.Kepler.access$100(Kepler.java:88)
> at org.kepler.Kepler$Shutdown.shutdown(Kepler.java:880)
> at org.kepler.util.ShutdownNotifier.shutdown(ShutdownNotifier.java:46)
> at org.kepler.gui.KeplerGraphFrame.dispose(KeplerGraphFrame.java:201)
> at ptolemy.actor.gui.TableauFrame._close(TableauFrame.java:722)
> at ptolemy.actor.gui.PtolemyFrame._close(PtolemyFrame.java:286)
> at ptolemy.vergil.basic.BasicGraphFrame._close(BasicGraphFrame.java:2078)
> at
> ptolemy.vergil.basic.ExtendedGraphFrame._close(ExtendedGraphFrame.java:248)
> at ptolemy.vergil.actor.ActorGraphFrame._close(ActorGraphFrame.java:380)
> at ptolemy.gui.Top$CloseWindowAdapter.windowClosing(Top.java:1955)
> at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
> at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349)
> at java.awt.Window.processWindowEvent(Window.java:2051)
> at javax.swing.JFrame.processWindowEvent(JFrame.java:296)
> at java.awt.Window.processEvent(Window.java:2009)
> at java.awt.Component.dispatchEventImpl(Component.java:4861)
> at java.awt.Container.dispatchEventImpl(Container.java:2287)
> at java.awt.Window.dispatchEventImpl(Window.java:2719)
> at java.awt.Component.dispatchEvent(Component.java:4687)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
> at java.awt.EventQueue.access$200(EventQueue.java:103)
> at java.awt.EventQueue$3.run(EventQueue.java:688)
> at java.awt.EventQueue$3.run(EventQueue.java:686)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
> at java.awt.EventQueue$4.run(EventQueue.java:702)
> at java.awt.EventQueue$4.run(EventQueue.java:700)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
> at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
> at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
> at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
>
>
>
>
> ---------------------------------
> Jonathan Boright
> Research Scientist
> ISciences, LLC
> 61 Main Street, Suite 200
> Burlington, VT 05401
> 802 864-2999
> boright at isciences.com
> http://www.isciences.com
> http://www.terraviva.net
>
>
> On Fri, Oct 25, 2013 at 3:18 PM, Daniel Crawl <danielcrawl at gmail.com> wrote:
>
>>
>> Hi Jon,
>>
>> Are you running multiple instances of Kepler?
>>
>> This error occurs when multiple instances are started, and the first
>> instance is not closed last. You can avoid this problem by running
>> the HSQL databases in a separate process. First run:
>>
>> kepler.sh -hsql start
>>
>> then start the Kepler instances. When you are done, exit all the
>> instances, and run:
>>
>> kepler.sh -hsql stop
>>
>>
>>    --dan
>>
>>
>>
>>
>> On 10/25/13 11:55 AM, Jonathan Boright wrote:
>>
>>> Hi all,
>>>
>>> I seem to be having trouble closing down Kepler. When I attempt to close
>>> Kepler (either file/quit, or closing the last open workflow window) The
>>> system hangs for a while and then gives the following message:
>>> [image: Inline image 1]
>>> I'm working on the stable 2.4 branch built on OSx Mountain Lion. I
>>> recently
>>> updated (ant update). Build info below:
>>>
>>> .../build-area$ svn info
>>> URL:
>>> https://code.kepler-project.**org/code/kepler/releases/**
>>> release-branches/build-area-2.**4<https://code.kepler-project.org/code/kepler/releases/release-branches/build-area-2.4>
>>> Repository Root: https://code.kepler-project.**org/code/kepler<https://code.kepler-project.org/code/kepler>
>>> Repository UUID: edc41a2b-3e5c-0410-9d3f-**8540a70682f1
>>> Revision: 32509
>>> Node Kind: directory
>>> Schedule: normal
>>> Last Changed Author: jianwu
>>> Last Changed Rev: 32503
>>> Last Changed Date: 2013-10-21 18:53:14 -0400 (Mon, 21 Oct 2013)
>>>
>>> Any ideas?
>>>
>>> Thanks
>>>
>>> Jon
>>>
>>> ------------------------------**---
>>> Jonathan Boright
>>> Research Scientist
>>> ISciences, LLC
>>>
>>>
>>>
>>> ______________________________**_________________
>>> Kepler-users mailing list
>>> Kepler-users at kepler-project.**org <Kepler-users at kepler-project.org>
>>> http://lists.nceas.ucsb.edu/**kepler/mailman/listinfo/**kepler-users<http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users>
>>>
>>>
>>
>



More information about the Kepler-users mailing list