I set up virtual host in my server. Apatch are running on port 80 and it
forward requests to Tomcat, which is on port 8080, for the website of
GN2.4.2 . It can work well, including upload and download file,intwermap and
so on.
Now, I start to test harvesting function. I try to add the remote node by
harvesting management as below,
Name:FAO;
Host:www.fao.org;
Port:8080;
servlet:geonetwork;
And then I click button of retrieve source or retrieve groups, a error
message from webpage exists: Unable to trive information, Error:error,
Message:Connection reset, Class:Scocketexception. When I click run, It will
always keep running status. The part of log file is below,
2010-07-15 09:13:11,421 INFO [jeeves.request] - HTML Request (from
127.0.0.1) : /geonetwork/srv/en/xml.harvesting.get
2010-07-15 09:13:11,421 DEBUG [jeeves.request] - Method : POST
2010-07-15 09:13:11,421 DEBUG [jeeves.request] - Content type :
application/xml
2010-07-15 09:13:11,421 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-07-15 09:13:11,421 DEBUG [jeeves.request] - Session id is
6117153B35402026EAFEC14A8EF72436
2010-07-15 09:13:11,421 INFO [jeeves.service] - Dispatching :
xml.harvesting.get
2010-07-15 09:13:11,421 DEBUG [jeeves.service] - -> parameters are :
<request>
<id>289</id>
</request>
2010-07-15 09:13:11,421 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.get
2010-07-15 09:13:11,421 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.get
2010-07-15 09:13:11,421 DEBUG [jeeves.service] - Service xml is :
<node id="289" type="geonetwork">
<site>
<name>FAO</name>
<uuid>81e5feec-cead-465a-b46f-db69a33a3abf</uuid>
<account>
<use>false</use>
<username />
<password />
</account>
<host>www.fao.org</host>
<port>8080</port>
<servlet>geonetwork</servlet>
</site>
<options>
<every>5</every>
<oneRunOnly>false</oneRunOnly>
<status>active</status>
</options>
<searches>
<search>
<freeText />
<title>environment</title>
<abstract />
<keywords />
<digital>false</digital>
<hardcopy>false</hardcopy>
<source>
<uuid />
<name />
</source>
</search>
</searches>
<groupsCopyPolicy />
<info>
<lastRun>2010-07-13T16:42:57</lastRun>
<running>false</running>
</info>
<error id="error">
<message>Connection reset</message>
<class>SocketException</class>
<stack>
<at class="java.net.SocketInputStream" file="???" line="-1"
method="read" />
<at class="java.io.BufferedInputStream" file="???" line="-1"
method="fill" />
<at class="java.io.BufferedInputStream" file="???" line="-1"
method="read" />
<at class="org.apache.commons.httpclient.HttpParser"
file="HttpParser.java" line="77" method="readRawLine" />
<at class="org.apache.commons.httpclient.HttpParser"
file="HttpParser.java" line="105" method="readLine" />
<at class="org.apache.commons.httpclient.HttpConnection"
file="HttpConnection.java" line="1115" method="readLine" />
<at class="org.apache.commons.httpclient.HttpMethodBase"
file="HttpMethodBase.java" line="1832" method="readStatusLine" />
<at class="org.apache.commons.httpclient.HttpMethodBase"
file="HttpMethodBase.java" line="1590" method="readResponse" />
<at class="org.apache.commons.httpclient.HttpMethodBase"
file="HttpMethodBase.java" line="995" method="execute" />
<at class="org.apache.commons.httpclient.HttpMethodDirector"
file="HttpMethodDirector.java" line="397" method="executeWithRetry" />
</stack>
</error>
</node>
2010-07-15 09:13:11,421 INFO [jeeves.service] - -> output ended for :
xml.harvesting.get
2010-07-15 09:13:11,421 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.get
2010-07-15 09:13:16,109 INFO [jeeves.request] -
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/harvesting-cannot-work-tp5297817p5297817.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.