Re: Modeller M9 Problem

From: Gary Jarrel (garyjarre..mail.com)
Date: Fri Dec 30 2005 - 19:51:36 EST

  • Next message: Dirk Olmes: "Re: Modeller M9 Problem"

    On 12/30/05, Andrus Adamchik <andru..bjectstyle.org> wrote:
    > Gary,
    >
    > There was an upgrade of HSQLDB between M8 and M9. As new DB is not
    > backwards compatible, M9 Modeler attempts to copy the old DB from 1.1
    > to 1.2 (so that older versions could still function). I am not sure
    > why the copy operation fails in your case, but a brute force approach
    > to fix it would be to delete the entire prefs directory, so that M9
    > could start fresh.

    I would assume that this means deleting the ~/.cayenne/prefs directory
    which I've tried, and then I tried to remove the entire ~/.cayenne
    directory as well and still to no avail the same problem persists.

    >
    > Also do you have another HSQLDB installation anywhere in the
    > CLASSPATH or $JRE_HOME/lib/ext?

    I do not define any of these as shell/environment variables.
    $JAVA_HOME is the only one that is defined, and that points to the
    default sun 1.5 installation without any changes to the original
    libraries that came with the installation.

    >
    > Andrus
    >

    Thanks

    Gary

    >
    > On Dec 30, 2005, at 4:13 AM, Gary Jarrel wrote:
    >
    > > Interesting but in my case the directory ~/.cayenne/prefs/1.2 is
    > > empty, and I haven't reassigned $HOME either. Quite puzzled I am
    > > indeed.
    > >
    > > Just tried it again and the problem is still with M9 and not M8, nor
    > > M7 nor M6 mor M5 nor M4 :)
    > >
    > > ????
    > >
    > > Thanks
    > >
    > > Gary
    > >
    > >
    > > On 12/30/05, Gentry, Michael (Contractor)
    > > <michael_gentr..anniemae.com> wrote:
    > >> Hmm. I am able to use M9 on OS X. Strange that it works for M8 for
    > >> you, though. Look at your database files in ~/.cayenne/prefs/1.2 and
    > >> see if anything looks wrong. There should be a db.properties and a
    > >> db.script file. Also, do you reassign your $HOME variable?
    > >>
    > >> /dev/mrg
    > >>
    > >> -----Original Message-----
    > >> From: Gary Jarrel [mailto:garyjarre..mail.com]
    > >> Sent: Thursday, December 29, 2005 4:02 AM
    > >> To: cayenne-use..bjectstyle.org
    > >> Subject: Modeller M9 Problem
    > >>
    > >>
    > >> Hi People!
    > >>
    > >> I've just tried to run up modeller from M9 under my Linux platform
    > >> and
    > >> I got the following exception:
    > >>
    > >> Exception in thread "AWT-EventQueue-0"
    > >> org.objectstyle.cayenne.CayenneRuntimeException: [v.1.2M9 December 15
    > >> 2005] Error connecting to preference DB.
    > >> at
    > >> org.objectstyle.cayenne.pref.HSQLEmbeddedPreferenceService.startServi
    > >> ce(
    > >> HSQLEmbeddedPreferenceService.java:143)
    > >> at
    > >> org.objectstyle.cayenne.modeler.Application.initPreferences
    > >> (Application.
    > >> java:320)
    > >> at
    > >> org.objectstyle.cayenne.modeler.Application.startup
    > >> (Application.java:230
    > >> )
    > >> at org.objectstyle.cayenne.modeler.Main$1.run(Main.java:137)
    > >> at
    > >> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    > >> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    > >> at
    > >> java.awt.EventDispatchThread.pumpOneEventForHierarchy
    > >> (EventDispatchThrea
    > >> d.java:242)
    > >> at
    > >> java.awt.EventDispatchThread.pumpEventsForHierarchy
    > >> (EventDispatchThread.
    > >> java:163)
    > >> at
    > >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    > >> at
    > >> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    > >> at
    > >> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    > >> Caused by: org.objectstyle.cayenne.ConfigurationException: [v.1.2M9
    > >> December 15 2005] Load failures. Main configuration class:
    > >> org.objectstyle.cayenne.conf.DefaultConfiguration, details:
    > >> domain.node.name=HSQLNode,
    > >> domain.node.datasource=HSQLNode.driver.xml, reason: DataSource load
    > >> failed - Error connecting to DB
    > >> at
    > >> org.objectstyle.cayenne.conf.RuntimeLoadDelegate.finishedLoading
    > >> (Runtime
    > >> LoadDelegate.java:472)
    > >> at
    > >> org.objectstyle.cayenne.conf.ConfigLoader.loadDomains
    > >> (ConfigLoader.java:
    > >> 115)
    > >> at
    > >> org.objectstyle.cayenne.conf.DefaultConfiguration.initialize
    > >> (DefaultConf
    > >> iguration.java:197)
    > >> at
    > >> org.objectstyle.cayenne.pref.HSQLEmbeddedPreferenceService.startServi
    > >> ce(
    > >> HSQLEmbeddedPreferenceService.java:140)
    > >> ... 10 more
    > >>
    > >> However 1.2M8 works fine, any ideas?
    > >>
    > >> Thanks
    > >>
    > >> Gary
    > >>
    > >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Dec 30 2005 - 19:51:37 EST