<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sorry about that. I updated the
distribution to use a consistent log4j jar file. As for the missing class org/apache/xapth/XPathAPI,
it appears these classes were removed from the jre1.5 distribution, so I added
new jars to the harvester2 distribution to compensate. Grab the latest harvester2
distribution from <a href="http://pubserv.oclc.org/oaiharvester2/jars/dist.html">http://pubserv.oclc.org/oaiharvester2/jars/dist.html</a>
and try it again. Let me know if you have further problems.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Jeff<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face=SimSun><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
oai-implementers-bounces@openarchives.org
[mailto:oai-implementers-bounces@openarchives.org] <b><span style='font-weight:
bold'>On Behalf Of </span></b>jiangeb<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, April 02, 2006 4:00
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
oai-implementers@openarchives.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> [OAI-implementers]
question about OCLC OAIHarvest<br>
<b><span style='font-weight:bold'>Importance:</span></b> High</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face=SimSun><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face=SimSun><span style='font-size:12.0pt'>I</span></font><font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>have<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>download<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>OCLC's<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>OAIHarvester2<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>and<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>run<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>as<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>below<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>according<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>to<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>README<br>
.txt,<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>but<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>there<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>are<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>some<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>question<br>
<br>
OAIHarvester2<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>running<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>envircoment<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>is<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>:<br>
OS<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>:<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Red<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Hat<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Linux<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>9<br>
JRE<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>:<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>1.5<br>
add<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>some<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>content<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>in<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>the<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>/etc/profile:<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font><br>
export<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>JAVA_HOME=/usr/java/jre1.5.0_06<br>
PATH=$JAVA_HOME/bin:$PATH<br>
export<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>CLASSPATH=.:$JAVA_HOME/lib<br>
export<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>PATH<br>
<br>
First,<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>I<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>run<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<br>
#<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<br>
[root@dspace<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>harvester2-0.1.6]#<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<br>
Sun<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Apr<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>02<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>15:53:15<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>CST<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>2006<br>
<?xml<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>version="1.0"<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>encoding="UTF-8"?><br>
<harvest><br>
Exception<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>in<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>thread<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>"main"<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>java.lang.NoClassDefFoundError:<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>org/apache/log4j/Logge<br>
r<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb.<clinit>(HarvesterVerb.java<br>
:64)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.app.RawWrite.run(RawWrite.java:118)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.app.RawWrite.main(RawWrite.java:67)<br>
<br>
Second,<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>I<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>edit<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>using<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>vi<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font><br>
[root@dspace<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>harvester2-0.1.6]#<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>vi<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<br>
#!<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>/bin/tcsh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>-f<br>
java<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>-classpath<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.12.jar:harvester2.jar<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.app.RawWr<br>
ite<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>http://alcme.oclc.org/oaicat/OAIHandler<br>
<br>
I<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>found<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>required<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.12.jar<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>but<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>not<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.8.jar<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>(there<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>is<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>a<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log<br>
4j-1.2.8.jar<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>in<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>this<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>directory)<br>
<br>
Third,<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>I<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>rename<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.8.jar<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>as<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.12.jar<br>
#<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>cp<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.8.jar<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>log4j-1.2.12.jar<br>
#<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>test.sh<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font><br>
Sun<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Apr<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>02<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>15:57:35<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>CST<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>2006<br>
<?xml<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>version="1.0"<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>encoding="UTF-8"?><br>
<harvest><br>
0<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>[main]<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>DEBUG<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>-<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>requestURL=http://al<br>
cme.oclc.org/oaicat/OAIHandler?verb=Identify<br>
806<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>[main]<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>DEBUG<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>-<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>responseCode=200<br>
806<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>[main]<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>DEBUG<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>-<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>contentEncoding=gz<br>
ip<br>
Exception<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>in<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>thread<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>"main"<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>java.lang.NoClassDefFoundError:<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>org/apache/xpath/XPath<br>
API<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb.getSingleString(HarvesterVe<br>
rb.java:293)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb.harvest(HarvesterVerb.java:<br>
274)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.HarvesterVerb.<init>(HarvesterVerb.java:1<br>
95)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.verb.Identify.<init>(Identify.java:53)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.app.RawWrite.run(RawWrite.java:118)<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>at<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>ORG.oclc.oai.harvester2.app.RawWrite.main(RawWrite.java:67)<br>
<br>
I<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>didn't<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>know<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>how<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>to<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>deal<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>with<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>these<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>errors.<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>Who<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>can<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>help<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>me<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>,Watting<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>for<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>your<font
face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font>an<br>
swer.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<font face="Times New Roman"><span style='font-family:"Times New Roman"'> </span></font><o:p></o:p></p>
</div>
</div>
</body>
</html>