[Mulgara-dev] unable to recover non-existing database

Life is hard, and then you die ronald at innovation.ch
Mon Jun 16 21:33:46 UTC 2008


On Mon, Jun 16, 2008 at 03:29:46PM -0500, Paul Gearon wrote:
> Null pointers?  The unit tests didn't complete?  There's something  
> weird in your system here.
> 
> Try taking a fresh checkout, set the CLASSPATH to empty, and run the  
> tests. If you have ANYTHING fail, then please let me know.

The CI-build failed after r1003, and the tests fail for me too. James
is looking at it, I believe.


  Cheers,

  Ronald



> On Jun 16, 2008, at 12:44 PM, Brian Sletten wrote:
> 
> > I did an update and started to poke around last night at some of the
> > recent activity and ran into a bunch of problems too.
> > NullPointerExceptions on simple queries, the unit test suite didn't
> > complete... I haven't spent much time looking at it yet (will try to
> > in the next day or two), but something fairly fundamental seems
> > gerhosen.
> >
> > On Jun 16, 2008, at 1:38 PM, James Leigh wrote:
> >
> >> Hi,
> >>
> >> I am getting this error using the Mulgara trunk. It fails to  
> >> recover a
> >> non-existing database when passing an empty directory. How can I
> >> create
> >> a new database at the given getDataDir() empty directory location?
> >>
> >> Thanks,
> >> James
> >> ---
> >> ClassLoader cl = getClass().getClassLoader();
> >> InputStream file = cl.getResourceAsStream(CONFIG_PATH);
> >> config = MulgaraConfig.unmarshal(new InputStreamReader(file));
> >> systemModel = new java.net.URI("http://mulgara.org/local/" +
> >> config.getServerName());
> >> database = DatabaseFactory.newDatabase(systemModel, getDataDir(),
> >> config);
> >> ---
> >> org.mulgara.resolver.spi.InitializerException: Failed to recover
> >> existing database
> >> 	at org.mulgara.resolver.Database.<init>(Database.java:661)
> >> 	at
> >> org
> >> .mulgara.resolver.DatabaseFactory.newDatabase(DatabaseFactory.java: 
> >> 97)
> >> Caused by: org.mulgara.store.xa.SimpleXAResourceException: Unable to
> >> find common phase in pre-existing database
> >> 	at
> >> org.mulgara.resolver.Database.recoverRecoveryHandlers(Database.java:
> >> 1054)
> >> 	at org.mulgara.resolver.Database.recoverDatabase(Database.java:1032)
> >> 	at org.mulgara.resolver.Database.<init>(Database.java:658)
> >> 	... 17 more
> >>
> >>
> >>
> >> _______________________________________________
> >> Mulgara-dev mailing list
> >> Mulgara-dev at mulgara.org
> >> http://mulgara.org/mailman/listinfo/mulgara-dev
> >
> > _______________________________________________
> > Mulgara-dev mailing list
> > Mulgara-dev at mulgara.org
> > http://mulgara.org/mailman/listinfo/mulgara-dev
> 
> _______________________________________________
> Mulgara-dev mailing list
> Mulgara-dev at mulgara.org
> http://mulgara.org/mailman/listinfo/mulgara-dev



More information about the Mulgara-dev mailing list