We're also having this problem with our 2.2.3 repository. Has there been any progress on this issue?
Thanks, Muzaffer Ozakca > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Edwin Shin > Sent: Friday, August 08, 2008 5:18 PM > 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(AbstractDatab > aseSession.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(ConcurrentTripl > estoreWriter.java:272) > > > > at > > > org.trippi.impl.base.ConcurrentTriplestoreWriter.close(ConcurrentTriplestore > Writer.java:330) > > > > at > > org.trippi.impl.kowari.KowariConnector.close(KowariConnector.java:287) > > at > > > fedora.server.resourceIndex.ResourceIndexImpl.close(ResourceIndexImpl.java:3 > 79) > > > > at > > > fedora.server.resourceIndex.ResourceIndexRebuilder.finish(ResourceIndexRebui > lder.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.java: > 382) > > > > at > > > org.kowari.store.PersistentDatabaseGraph.add(PersistentDatabaseGraph.java:22 > 4) > > > > at > > > org.kowari.store.AbstractDatabaseSession.insertIntoKowariModel(AbstractDatab > aseSession.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(AbstractDatabaseSe > ssion.java:937) > > > > at > > > org.kowari.store.AbstractDatabaseSession._localize(AbstractDatabaseSession.j > ava:4018) > > > > at > > > org.kowari.store.AbstractDatabaseSession.localize(AbstractDatabaseSession.ja > va:3914) > > > > at > > > org.kowari.store.PersistentDatabaseGraph.transformStatement(PersistentDataba > seGraph.java:1013) > > > > at > > > org.kowari.store.PersistentDatabaseGraph.state(PersistentDatabaseGraph.java: > 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.jav > a:127) > > > > at > > > org.kowari.store.stringpool.xa.SPDateTimeFactory.newSPTypedLiteral(SPDateTim > eFactory.java:79) > > > > at > > > org.kowari.store.stringpool.xa.SPObjectFactoryImpl.newSPTypedLiteral(SPObjec > tFactoryImpl.java:180) > > > > at > > > org.kowari.store.AbstractDatabaseSession.getGlobalLiteral(AbstractDatabaseSe > ssion.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 > > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
