Project

General

Profile

Actions

Bug #5137

closed

database exception when using 'ant run' at windows 7.

Added by jianwu jianwu over 14 years ago. Updated over 14 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
08/10/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5137

Description

The following exceptions keep showing when I tried to start Kepler using 'ant run'. I had to use 'Ctrl C' to stop it. But Kepler GUI will be able to show up after I did it, which is probably because the another java process was generated in the meanwhile.

Another weird thing is that Kepler GUI can correctly show up when I tried 'ant run' for the second time. The same exception message for ' [run] SQLState(08000) vendor code(-80) [run] java.sql.SQLException: socket creation error' will still show up, but the message is not infinite this time.

The infinite exception message for the first 'ant run':

[run] Kepler Initializing...
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:164) Making directory C:\Users\jianwu\.kepler\cache-2.0.0\cachedata\
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:164) Making directory C:\Users\jianwu\.kepler\cache-2.0.0\objects\
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:164) Making directory C:\Users\jianwu\.kepler\cache-2.0.0\RawData\
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table KEPLERTEXTTABLES created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table CACHECONTENTTABLE created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table CACHE_SEMTYPES created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table KAR_LOCAL_REPOS created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table KARS_CACHED created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table KAR_ERRORS created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table KAR_CONTENTS created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table LIBRARY_INDEX created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table LIBRARY_ATTRIBUTES created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table LIBRARY_LSIDS created
[run] INFO (org.kepler.gui.KeplerInitializer:initializeSystem:219) Table LIBRARY_SEARCH created
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] SQLState(08000) vendor code(-80)
[run] java.sql.SQLException: socket creation error
[run] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[run] at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
[run] at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
[run] at org.hsqldb.jdbcDriver.connect(Unknown Source)
[run] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[run] at java.sql.DriverManager.getConnection(DriverManager.java:185)
[run] at org.kepler.util.sql.HSQL._getConnection(HSQL.java:327)
[run] at org.kepler.util.sql.DatabaseType.connect(DatabaseType.java:81)
[run] at org.kepler.util.sql.DatabaseFactory.getConnectedDatabaseType(DatabaseFactory.java:188)
[run] at org.kepler.util.sql.DatabaseFactory.getConnectedDatabaseType(DatabaseFactory.java:137)
[run] at org.kepler.objectmanager.lsid.LSIDGenerator.openDatabase(LSIDGenerator.java:289)
[run] at org.kepler.objectmanager.lsid.LSIDGenerator.insertRow(LSIDGenerator.java:255)
[run] at org.kepler.util.AuthNamespace.writeAuthorizedNamespace(AuthNamespace.java:413)
[run] at org.kepler.util.AuthNamespace.queryAuthorizedNamespace(AuthNamespace.java:478)
[run] at org.kepler.util.AuthNamespace.generateAuthNamespace(AuthNamespace.java:306)
[run] at org.kepler.util.AuthNamespace.initialize(AuthNamespace.java:205)
[run] at org.kepler.util.AuthNamespace.getInstance(AuthNamespace.java:500)
[run] at org.kepler.gui.KeplerInitializer.initializeSystem(KeplerInitializer.java:223)
[run] at org.kepler.gui.KeplerInitializer.<init>(KeplerInitializer.java:96)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[run] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[run] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[run] at java.lang.Class.newInstance0(Class.java:355)
[run] at java.lang.Class.newInstance(Class.java:308)
[run] at ptolemy.actor.gui.ConfigurationApplication.readConfiguration(ConfigurationApplication.java:462)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:309)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1128)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] getConnection failed: java.sql.SQLException: socket creation error
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] INFO (org.kepler.util.AuthNamespace:generateAuthNamespace:311) A unique namespace, 2104, was successfully retrieved from authority kepler-project.org/ns/
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] INFO (org.kepler.objectmanager.library.LibraryManager:buildLibrary:332) Building Library...
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] INFO (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:246) Scanning Local Repositories for KAR files...
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] WARN (org.kepler.kar.KAREntry:getLSID:173) no LSID for KAREntry Logger2.xml
[run] WARN (org.ecoinformatics.seek.ecogrid.SearchRegistryAction:queryRegistryRewriteConfig:206) Problem looking up registry entries using endpoint:
[run] http://knb.ecoinformatics.org/registry/services/RegistryService
[run] INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:369) The Cache was out of sync with KAR files in Local Repositories.
[run] INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:371) The Cache has been syncronized with KAR files in Local Repositories.
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@2af6a882]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@37c398e]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@50a69b6b]
[run] INFO (org.kepler.objectmanager.library.LibIndex:rebuild:255) Building LibIndex...
[run] SQLState(23000) vendor code(-104)
[run] java.sql.SQLException: Violation of unique constraint UK_LIIDSEARCHSTRING: duplicate value(s) for column(s) LIID,SEARCHSTRING in statement [insert into LIBRARY_SEARCH (sid, type, liid, searchstring) values ( ?, ?, ?, ? )]
[run] at org.hsqldb.jdbc.Util.throwError(Unknown Source)
[run] at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
[run] at org.kepler.objectmanager.library.LibSearch.insertRow(LibSearch.java:251)
[run] at org.kepler.objectmanager.library.LibIndex.addAllParentsToSearchIndex(LibIndex.java:1138)
[run] at org.kepler.objectmanager.library.LibIndex.finishSearchIndexing(LibIndex.java:304)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:287)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:347)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1128)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] SQLState(23000) vendor code(-104)
[run] java.sql.SQLException: Violation of unique constraint UK_LIIDSEARCHSTRING: duplicate value(s) for column(s) LIID,SEARCHSTRING in statement [insert into LIBRARY_SEARCH (sid, type, liid, searchstring) values ( ?, ?, ?, ? )]
[run] at org.hsqldb.jdbc.Util.throwError(Unknown Source)
[run] at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
[run] at org.kepler.objectmanager.library.LibSearch.insertRow(LibSearch.java:251)
[run] at org.kepler.objectmanager.library.LibIndex.addAllParentsToSearchIndex(LibIndex.java:1138)
[run] at org.kepler.objectmanager.library.LibIndex.finishSearchIndexing(LibIndex.java:304)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:287)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:347)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1128)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
...

--------------------------------------------------
--------------------------------------------------
The exception message for the second 'ant run':

[run] Kepler Initializing...
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] INFO (org.kepler.objectmanager.library.LibraryManager:buildLibrary:332) Building Library...
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] INFO (org.kepler.objectmanager.cache.LocalRepositoryManager:scanReposForKarFiles:246) Scanning Local Repositories for KAR files...
[run] INFO (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRepositories:374) The Cache is in sync with KAR files in Local Repositories.
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9001/hsqldb")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9001/hsqldb)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] SQLState(08000) vendor code(-80)
[run] java.sql.SQLException: socket creation error
[run] at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[run] at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
[run] at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
[run] at org.hsqldb.jdbcDriver.connect(Unknown Source)
[run] at java.sql.DriverManager.getConnection(DriverManager.java:582)
[run] at java.sql.DriverManager.getConnection(DriverManager.java:185)
[run] at org.kepler.util.sql.HSQL._getConnection(HSQL.java:327)
[run] at org.kepler.util.sql.DatabaseType.connect(DatabaseType.java:81)
[run] at org.kepler.util.sql.DatabaseFactory.getConnectedDatabaseType(DatabaseFactory.java:188)
[run] at org.kepler.util.sql.DatabaseFactory.getConnectedDatabaseType(DatabaseFactory.java:137)
[run] at org.kepler.objectmanager.lsid.LSIDGenerator.openDatabase(LSIDGenerator.java:289)
[run] at org.kepler.objectmanager.lsid.LSIDGenerator.<init>(LSIDGenerator.java:103)
[run] at org.kepler.objectmanager.lsid.LSIDGenerator.getInstance(LSIDGenerator.java:126)
[run] at org.kepler.objectmanager.ObjectManager.assignIdTo(ObjectManager.java:505)
[run] at org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:148)
[run] at org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:227)
[run] at ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
[run] at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
[run] at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:569)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:401)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1128)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:81)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] getConnection failed: java.sql.SQLException: socket creation error
[run] DriverManager.getConnection("jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB")
[run] trying driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@67032bc9]
[run] *Driver.connect (jdbc:hsqldb:hsql://localhost:9003/coreDB;filepath=hsqldb:file:/C:\Users\jianwu\KeplerData\modules\core\coreDB)
[run] trying driver[className=org.postgresql.Driver,org.postgresql.Driver@10439d3b]
[run] trying driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
[run] getConnection returning driver[className=org.hsqldb.jdbcDriver,org.hsqldb.jdbcDriver@470794d4]
Actions #1

Updated by jianwu jianwu over 14 years ago

I can not reproduce the error after a fresh checkout. It's weird that the exception was still there even I did 'ant update clean-all run' at the old checkout. I don't think I changed some related configurations or source codes there.

Anyway, I closed the bug. Sorry for bringing the chaos.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5137

Actions

Also available in: Atom PDF