Odd, I see a copy of my response of 9/20 in my sent mail, but not in the list archives.
Basically, Fedora 2.2.4, which is imminent, along with an updated version of Trippi, replaces Kowari with Mulgara. The updated Trippi/Mulgara combination addresses the bug you were reporting. The Trippi/Mulgara updates are already in the maintenance-2.2 branch if you need it before we cut the 2.2.4 release (sorry, I don't have an actual date yet). On 10/01/2008 11:37 PM, Richard Green is rumored to have said: > Eddie > > I sent this out a couple of weeks ago when there were problems with > SourceForge mail. Not sure if you got it? Like Joe, we initially ended > up with an empty ri! > > Richard > > -----Original Message----- > From: Richard Green > Sent: 19 September 2008 16:53 > To: 'Edwin Shin'; [email protected] > Cc: Simon W Lamb; Chris L Awre > Subject: RE: [Fedora-commons-developers] Rebuilding the ResourceIndex in > a 2.2.3 World > > Eddie > > Did this ever get sorted? We hit the same problem today and had to > solve it by hand-editing the 'created' date on a number of objects - > including demo:itemThree - in order to do a successful rebuild. > > Richard > > ___________________________________________________________________ > > Richard Green > Manager, RepoMMan, RIDIR and REMAP Projects > e-Services Integration Group > > www.hull.ac.uk/esig/repomman > www.hull.ac.uk/ridir > www.hull.ac.uk/remap > http://edocs.hull.ac.uk > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Edwin Shin > Sent: 08 August 2008 22:18 > To: [email protected] > Subject: Re: [Fedora-commons-developers] Rebuilding the ResourceIndex in > a 2.2.3 World > > This is a known bug--I noted on the user's list about a week ago that I > was able to reproduce it against the version of Trippi + Kowari bundled > with Fedora 2.2.2 (which hasn't changed for 2.2.3). > > Unfortunately, I haven't had a chance to run it down further yet (i.e. > if it's a problem in Trippi or Kowari). I'm traveling for the next week > so I'm not sure if I'll be able to get to it until I'm back. > > Eddie > > On 08/08/2008 03:56 PM, Joe Liversedge is rumored to have said: >> Hey everyone, >> >> I haven't tried this with a straight-up 2.2.3 installation, but I've >> seen a problem upgrading from earlier versions (2.1.1, 2.2.1) and > doing >> a Resource Index rebuild on the newly-upgraded 2.2.3. This is true for > >> at least two other installations. It looks something like: >> >> INFO [main] (KowariConnector.java:281) - Connector closing... >> INFO [main] (KowariSession.java:310) - Closed session. >> INFO [main] (ConcurrentTriplestoreWriter.java:327) - Closing... >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#string] > (id:1) >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#short, >> http://www.w3.org/2001/XMLSchema#integer, >> http://www.w3.org/2001/XMLSchema#nonNegativeInteger, >> http://www.w3.org/2001/XMLSchema#long, >> http://www.w3.org/2001/XMLSchema#negativeInteger, >> http://www.w3.org/2001/XMLSchema#unsignedLong, >> http://www.w3.org/2001/XMLSchema#unsignedInt, >> http://www.w3.org/2001/XMLSchema#int, >> http://www.w3.org/2001/XMLSchema#byte, >> http://www.w3.org/2001/XMLSchema#unsignedShort, >> http://www.w3.org/2001/XMLSchema#decimal, >> http://www.w3.org/2001/XMLSchema#nonPositiveInteger, >> http://www.w3.org/2001/XMLSchema#unsignedByte, >> http://www.w3.org/2001/XMLSchema#positiveInteger] (id:2) >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#float] > (id:3) >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#double] > (id:4) >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#date] > (id:5) >> INFO [main] (SPTypedLiteralRegistry.java:211) - Registered >> SPTypedLiteralFactory for: [http://www.w3.org/2001/XMLSchema#dateTime] > >> (id:6) >> org.kowari.query.QueryException: Couldn't insert statement >> [info:fedora/demo:DualResImageCollection/SERVICE-PROFILE, >> info:fedora/fedora-system:def/view#lastModifiedDate, >> 2004-12-17T15:32:11Z] into rmi://localhost/fedora#ri >> at >> > org.kowari.store.AbstractDatabaseSession.insertIntoKowariModel(AbstractD > atabaseSession.java:3630) >> at >> > org.kowari.store.AbstractDatabaseSession.insert(AbstractDatabaseSession. > java:1281) >> at >> org.trippi.impl.kowari.KowariSession.doTriples(KowariSession.java:142) >> at > org.trippi.impl.kowari.KowariSession.add(KowariSession.java:128) >> at >> > org.trippi.impl.base.MemUpdateBuffer.writeBatch(MemUpdateBuffer.java:199 > ) >> at > org.trippi.impl.base.MemUpdateBuffer.flush(MemUpdateBuffer.java:123) >> at >> > org.trippi.impl.base.ConcurrentTriplestoreWriter.flushBuffer(ConcurrentT > riplestoreWriter.java:272) >> at >> > org.trippi.impl.base.ConcurrentTriplestoreWriter.close(ConcurrentTriples > toreWriter.java:330) >> at >> org.trippi.impl.kowari.KowariConnector.close(KowariConnector.java:287) >> at >> > fedora.server.resourceIndex.ResourceIndexImpl.close(ResourceIndexImpl.ja > va:379) >> at >> > fedora.server.resourceIndex.ResourceIndexRebuilder.finish(ResourceIndexR > ebuilder.java:193) >> at > fedora.server.utilities.rebuild.Rebuild.<init>(Rebuild.java:116) >> at fedora.server.utilities.rebuild.Rebuild.main(Rebuild.java:367) >> Caused by: org.jrdf.graph.GraphException: Couldn't add triple >> at >> > org.kowari.store.PersistentDatabaseGraph.state(PersistentDatabaseGraph.j > ava:382) >> at >> > org.kowari.store.PersistentDatabaseGraph.add(PersistentDatabaseGraph.jav > a:224) >> at >> > org.kowari.store.AbstractDatabaseSession.insertIntoKowariModel(AbstractD > atabaseSession.java:3625) >> ... 12 more >> Caused by: org.kowari.store.StoreException: Couldn't parse >> "2004-12-17T15:32:11Z" as a http://www.w3.org/2001/XMLSchema#dateTime >> at >> > org.kowari.store.AbstractDatabaseSession.getGlobalLiteral(AbstractDataba > seSession.java:937) >> at >> > org.kowari.store.AbstractDatabaseSession._localize(AbstractDatabaseSessi > on.java:4018) >> at >> > org.kowari.store.AbstractDatabaseSession.localize(AbstractDatabaseSessio > n.java:3914) >> at >> > org.kowari.store.PersistentDatabaseGraph.transformStatement(PersistentDa > tabaseGraph.java:1013) >> at >> > org.kowari.store.PersistentDatabaseGraph.state(PersistentDatabaseGraph.j > ava:352) >> ... 14 more >> Caused by: java.lang.IllegalArgumentException: Cannot parse date: >> 2004-12-17T15:32:11Z.000 >> at >> > org.kowari.store.stringpool.xa.SPDateTimeImpl.newInstance(SPDateTimeImpl > .java:127) >> at >> > org.kowari.store.stringpool.xa.SPDateTimeFactory.newSPTypedLiteral(SPDat > eTimeFactory.java:79) >> at >> > org.kowari.store.stringpool.xa.SPObjectFactoryImpl.newSPTypedLiteral(SPO > bjectFactoryImpl.java:180) >> at >> > org.kowari.store.AbstractDatabaseSession.getGlobalLiteral(AbstractDataba > seSession.java:935) >> ... 18 more >> WARN [main] (ConcurrentTriplestoreWriter.java:334) - Error flushing >> update buffer while closing Triplestore: org.trippi.TrippiException: >> Error adding triples: org.kowari.query.QueryException: Couldn't insert > >> statement [info:fedora/demo:DualResImageCollection/SERVICE-PROFILE, >> info:fedora/fedora-system:def/view#lastModifiedDate, >> 2004-12-17T15:32:11Z] into rmi://localhost/fedora#ri >> INFO [main] (ConfigurableSessionPool.java:218) - Closing all > sessions... >> INFO [main] (KowariSession.java:310) - Closed session. >> INFO [main] (KowariSession.java:310) - Closed session. >> INFO [main] (KowariSession.java:310) - Closed session. >> INFO [main] (KowariSessionFactory.java:253) - Closing underlying >> SessionFactory... >> INFO [main] (AbstractDatabase.java:1062) - Closing >> INFO [main] (AbstractDatabase.java:1090) - Closed >> Finished. >> >> So, the date indicated above indeed looks like >> '2004-12-17T15:32:11.000Z', historically represented. >> >> It initially seemed related to [ 1832564 ] XSD dateTimes can have >> incorrect fractional seconds and so breaking >> fedora/server/utilities/DateUtility such that it preserves the >> explicitly-prohibited fractional-seconds-ending-in-zero again easily >> fixes the problem. Of course, since the intent of the bugfix was > clearly >> correct, we'd like to do it the right way, I just don't know what that > is. >> I should also add that the Resource Index is not terribly useful (aka >> empty) after the rebuild completes. >> >> My Kowari in a Nutshell book is on backorder so does anyone have a >> suggestion or insight? >> >> Thanks, >> Joe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
