[kepler-dev] [Bug 5444] Kepler can't run workflow if two instances exist at same time

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Mar 19 11:47:13 PDT 2013


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5444

Christopher Brooks <cxh at eecs.berkeley.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---
   Target Milestone|2.4.0                       |2.5.0
           Severity|normal                      |minor

--- Comment #16 from Christopher Brooks <cxh at eecs.berkeley.edu> ---
I'm reopening this because with Kepler-2.4rc3 under Windows 2008R2 64-bit,
when I run two Keplers and then close one, I get

java.sql.SQLException: Connection is broken: java.net.SocketException: Software
caused connection abort: recv failed
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.jdbcPreparedStatement.executeQuery(Unknown Source)
    at
org.kepler.objectmanager.cache.CacheManager.getCachedLsidsForClass(CacheManager.java:708)
    at
org.kepler.icon.ComponentEntityConfig.tryToAssignIconBySemanticType(ComponentEntityConfig.java:294)
    at
org.kepler.icon.ComponentEntityConfig.addSVGIconTo(ComponentEntityConfig.java:158)
    at
org.kepler.gui.KeplerIconLoader.loadIconForClass(KeplerIconLoader.java:71)
    at ptolemy.moml.MoMLParser._loadIconForClass(MoMLParser.java:6190)
    at ptolemy.moml.MoMLParser._handlePropertyElement(MoMLParser.java:5757)
    at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:3120)
    at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921)
    at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
    at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
    at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481)
    at com.microstar.xml.XmlParser.doParse(XmlParser.java:159)
    at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
    at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1556)
    at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1492)
    at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1436)
    at
ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:412)
    at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:233)
    at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1079)
    at ptolemy.actor.gui.Configuration.openModel(Configuration.java:1005)
    at ptolemy.actor.gui.HTMLViewer.hyperlinkUpdate(HTMLViewer.java:311)
    at javax.swing.JEditorPane.fireHyperlinkUpdate(Unknown Source)
    at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(Unknown
Source)
    at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(Unknown
Source)
    at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

Presumably, what is happening is that one of the open Keplers has the database
connection, but when it is closed, the other Kepler no longer connects to the
database.

I'm fine with pushing this off to the next release so I've marked it as 2.5.0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20130319/210acf3e/attachment.html>


More information about the Kepler-dev mailing list