[kepler-dev] Kepler start up problems
Christopher Brooks
cxh at eecs.berkeley.edu
Mon Feb 6 11:12:40 PST 2006
Ah, my bad. I'm removing ~/.kepler, which is not c:\Documents*\cxh\.kepler.
I guess I should either program or pay attention but not both. :-)
Maybe we could have a schema version number or something and autoflush the
.kepler directory when the version increases by a major number?
_Christopher
--------
Christopher,
Yet another "clear the .kepler cache directory" problem. I introduced a
schema change.
Kevin
Christopher Brooks wrote:
> I checked out new ptII and kepler trees, and then as per
> kepler/INSTALL, ran:
>
> ant full-clean ptolemy
> rm -rf ~/.kepler
> ant buildkarlib
> ant run-dev
>
> and now Kepler does not start up for me?
>
> [java] java.sql.SQLException: Column count does not match in
> statement [insert into cacheContentTable (name, lsid, date, file,
> expiration) values ( ?, ?, ?, ?, ? )]
> [java] at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown
> Source)
> [java] at
> org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source)
> [java] at
> org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source)
> [java] at
> org.ecoinformatics.util.DBConnection.prepareStatement(DBConnection.j
ava:202)
> [java] at
> org.kepler.objectmanager.cache.CacheManager.<init>(CacheManager.java
:111)
> [java] at
> org.kepler.objectmanager.cache.CacheManager.getInstance(CacheManager
.java:165)
> [java] at
> org.kepler.moml.KSWLibraryBuilder.buildLibrary(KSWLibraryBuilder.jav
a:84)
> [java] at
> ptolemy.vergil.VergilApplication.openLibrary(VergilApplication.java:
230)
> [java] at
> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilA
pplication.java:418)
> [java] at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApp
lication.java:439)
> [java] at
> ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:87
5)
> [java] at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:5
12)
> [java] at
> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:208)
> [java] at
> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:105)
> [java] at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:148)
> [java] at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
> [java] at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
> [java] at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchT
hread.java:201)
> [java] at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThr
ead.java:151)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145
)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137
)
> [java] at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
> [java] org.kepler.objectmanager.cache.CacheException: Unable to
> create prepared statements.
> [java] at
> org.kepler.objectmanager.cache.CacheManager.<init>(CacheManager.java
:117)
> [java] at
> org.kepler.objectmanager.cache.CacheManager.getInstance(CacheManager
.java:165)
> [java] at
> org.kepler.moml.KSWLibraryBuilder.buildLibrary(KSWLibraryBuilder.jav
a:84)
> [java] at
> ptolemy.vergil.VergilApplication.openLibrary(VergilApplication.java:
230)
> [java] at
> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilA
pplication.java:418)
> [java] at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApp
lication.java:439)
> [java] at
> ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:87
5)
> [java] at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:5
12)
> [java] at
> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:208)
> [java] at
> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:105)
> [java] at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:148)
> [java] at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
> [java] at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
> [java] at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchT
hread.java:201)
> [java] at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThr
ead.java:151)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145
)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145
)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137
)
> [java] at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
> [java] org.kepler.objectmanager.cache.CacheException: Unable to
> create prepared statements.
> [java] at
> org.kepler.objectmanager.cache.CacheManager.<init>(CacheManager.java
:117)
> [java] at
> org.kepler.objectmanager.cache.CacheManager.getInstance(CacheManager
.java:165)
> [java] at
> org.kepler.moml.KSWLibraryBuilder.buildLibrary(KSWLibraryBuilder.jav
a:84)
> [java] at
> ptolemy.vergil.VergilApplication.openLibrary(VergilApplication.java:
230)
> [java] at
> ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilA
pplication.java:418)
> [java] at
> ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApp
lication.java:439)
> [java] at
> ptolemy.actor.gui.MoMLApplication._parseArgs(MoMLApplication.java:87
5)
> [java] at
> ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:5
12)
> [java] at
> ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:208)
> [java] at
> ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:105)
> [java] at
> ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:148)
> [java] at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
> [java] at
> java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
> [java] at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchT
hread.java:201)
> [java] at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThr
ead.java:151)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145
)
> [java] at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137
)
> [java] at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
>
> Am I doing something silly here?
>
> _Christopher
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>
--------
More information about the Kepler-dev
mailing list