[GeoNetwork-users] harvesting protected metadata

Hi list,

I run 2 GeoNetwork v2.6.3 nodes under Tomcat 6 and I'm trying to make
protected metadata be harvested from one node into the other but I did
not manage to make it work.

The metadata were inserted into the first node through
csw:Transaction:Insert requests using one user account. The metadata
records are not publicly visible except when one logs in with this
user's credentials. On the other node I added a "GeoNetwork v2.1
remote node" and set the "Use account" with proper username and
password. When I run the harvesting, for some reason, the metadata is
not harvested. No error in the admin interface (green tick). No
exception in the logs. In the logs of the remote node I see 3 requests
(xml.user.login, xml.info and xml.search). In the logs of the
harvesting node I see one xml.harvesting.get request (response
status=ok).

Of course if I make the metadata public in the remote node then the
expected metadata records get harvested.

I know it is supposed to work ... isn't it ?

Any help would be greatly appreciated.

Ramzi Oueslati

My mistake. When I configured the harvesting, I set "Servlet" field
with "/geonetwork" instead of "geonetwork" (without slash). Now it
works. Maybe this can help somebody.

But i have an extra question : would it be possible to make the
harvested metadata public when it is protected on the remote node ? I
have the feeling that the answer would be "no" but I would appreciate
if anyone who knows could confirm.

Regards,
Ramzi Oueslati

2011/2/16 Ramzi Oueslati <geonetwork-users@anonymised.com>:

Hi list,

I run 2 GeoNetwork v2.6.3 nodes under Tomcat 6 and I'm trying to make
protected metadata be harvested from one node into the other but I did
not manage to make it work.

The metadata were inserted into the first node through
csw:Transaction:Insert requests using one user account. The metadata
records are not publicly visible except when one logs in with this
user's credentials. On the other node I added a "GeoNetwork v2.1
remote node" and set the "Use account" with proper username and
password. When I run the harvesting, for some reason, the metadata is
not harvested. No error in the admin interface (green tick). No
exception in the logs. In the logs of the remote node I see 3 requests
(xml.user.login, xml.info and xml.search). In the logs of the
harvesting node I see one xml.harvesting.get request (response
status=ok).

Of course if I make the metadata public in the remote node then the
expected metadata records get harvested.

I know it is supposed to work ... isn't it ?

Any help would be greatly appreciated.

Ramzi Oueslati