Haiko van der Schaaf, You don't need to rebuild, you can just add the jrdf-0.5.5.4.jar, slf4j-api-1.5.2.jar and slf4j-jdk14-1.5.2.jar to the "lib" directory within analyzer.jar (and then the other 2 when you get to that step). You can find those jars in the webapp directory created at installation time. If you don't like working with jar tools, you can rename analyzer.jar as a .zip file and zip tools should work fine.
I've published the notes from one of the migrations I worked through on our internal wiki (with some public pages) and though those are the big problems, perhaps some of the other notes will prove useful. http://wiki.dlib.indiana.edu/confluence/display/INF/Test+Server+Migration+Notes -Mike Durbin -----Original Message----- From: Haiko van der Schaaf [mailto:[email protected]] Sent: Tuesday, January 27, 2009 10:42 AM To: [email protected] Subject: [Fedora-commons-developers] upgrade to Fedora 3 analyzer from migration-utils is failing on ClassNotFoundException Hi, I am trying to upgrade my data from fedora 2 to fedora 3. Using the analyzer.jar from the migration zip I am running constantly into ClassNotFondExceptions. I am now constructing the jar from source including the not found classes. Has anybody else this experience and if so, already a solution other then building from source including missing jars ?? i.e. java -jar analyzer.jar migration.properties INFO: Configuration specifies ignoreDatastreamIDs: DC RELS-EXT RELS-INT POLICY ERROR: Analysis failed due to an unexpected error fedora.common.FaultException: Error constructing class: fedora.server.storage.translation.FOXML1_1DOSerializer at fedora.utilities.config.ConfigUtil.constructionFailed(ConfigUtil.java:191) at fedora.utilities.config.ConfigUtil.construct(ConfigUtil.java:175) at fedora.utilities.cma.analyzer.Analyzer.<init>(Analyzer.java:179) at fedora.utilities.cma.analyzer.Analyzer.main(Analyzer.java:416) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: java.lang.NoClassDefFoundError: org/jrdf/graph/PredicateNode at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at fedora.utilities.config.ConfigUtil.construct(ConfigUtil.java:166) ... 8 more Caused by: java.lang.ClassNotFoundException: org.jrdf.graph.PredicateNode at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:602) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) after including jrdf.jar I got java -jar analyzer.jar migration.properties INFO: Configuration specifies ignoreDatastreamIDs: DC RELS-EXT RELS-INT POLICY INFO: Cleared 4 rows from objectPaths table INFO: objectPaths table is empty; will rebuild INFO: Building objectPaths table from objects at /home/haiko/development/fedora/data/objects Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209) at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:602) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) ... 5 more Exception in thread "Thread-2" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209) at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153) at java.lang.Thread.run(Thread.java:619) Exception in thread "Thread-3" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209) at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153) at java.lang.Thread.run(Thread.java:619) Exception in thread "Thread-4" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:41) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209) at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:153) at java.lang.Thread.run(Thread.java:619) Regards, Haiko van der Schaaf -- Haiko van der Schaaf Func. Internet Integration W http://www.func.nl T +31 20 4230000 F +31 20 4223500 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
