[GeoNetwork-users] geoportalREST errors

Hi

I am trying to harvest a geoportal REST/csw that is on the same virtual server as Geonetwork 3.0.2. Neither the CSW or geoportalREST is working.

For CSW I used this address: http://server:8080/geoportal/csw
For REST I used: http://server:8080/geoportal

I also applied to 'add-gmd-prefix' to the XSL transformation and tested on/off remote authentication.

I have tested accessing the CSW in QGIS and it works fine.

I get the following log error when I run the harvest:

{"error": { "message": "opendap.servlet.BadURLException: This doesn't seem like a harvester log file. Stopping possible hacking attempt to uri: logs\harvester_geoPREST_WaterNSW_GeoportalREST_201512091557.log" , "class": "RuntimeException" , "stack": { "at": "jeeves.transaction.TransactionManager TransactionManager.java line 98 #runInTransaction" , "at": "jeeves.server.dispatchers.ServiceInfo ServiceInfo.java line 114 #execServices" , "at": "jeeves.server.dispatchers.ServiceManager ServiceManager.java line 442 #dispatch" , "at": "jeeves.server.dispatchers.ServiceManager ServiceManager.java line 384 #dispatch" , "at": "jeeves.server.JeevesEngine JeevesEngine.java line 600 #dispatch" , "at": "org.fao.geonet.services.main.GenericController GenericController.java line 106 #dispatch" , "at": "sun.reflect.GeneratedMethodAccessor279 ??? line -1 #invoke" , "at": "sun.reflect.DelegatingMethodAccessorImpl ??? line -1 #invoke" , "at": "java.lang.reflect.Method ??? line -1 #invoke" , "at": "org.springframework.web.method.support.InvocableHandlerMethod InvocableHandlerMethod.java line 219 #invoke" , "at": "jeeves.config.springutil.JeevesDispatcherServlet JeevesDispatcherServlet.java line 17 #access$001" , "at": "jeeves.config.springutil.JeevesDispatcherServlet$1 JeevesDispatcherServlet.java line 30 #doInTransaction" , "at": "jeeves.config.springutil.JeevesDispatcherServlet$1 JeevesDispatcherServlet.java line 27 #doInTransaction" , "at": "jeeves.transaction.TransactionManager TransactionManager.java line 63 #runInTransaction" , "at": "jeeves.config.springutil.JeevesDispatcherServlet JeevesDispatcherServlet.java line 24 #doDispatch" , "at": "org.fao.geonet.monitor.webapp.WebappMetricsFilter WebappMetricsFilter.java line 96 #doFilter" , "at": "org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter MetricsRegistryInitializerFilter.java line 31 #doFilter" , "at": "org.geonetwork.http.SessionTimeoutCookieFilter SessionTimeoutCookieFilter.java line 56 #doFilter" , "at": "jeeves.config.springutil.PassthroughFilter PassthroughFilter.java line 26 #doFilter" , "at": "jeeves.config.springutil.MultiNodeAuthenticationFilter MultiNodeAuthenticationFilter.java line 98 #doFilter" , "at": "jeeves.config.springutil.JeevesDelegatingFilterProxy JeevesDelegatingFilterProxy.java line 64 #doFilter" } , "request": {} } }

Regards

Mark Noonan
Spatial Services Manager

[http://www.impressdesign.com.au/images/water_nsw_logo.png\]

Level 4, 2-6 Station Street. Penrith NSW 2751
T: 02 47242310 M: 0408169624
mark.noonan@anonymised.com<mailto:mark.noonan@anonymised.com>
www.waternsw.com.au<http://www.waternsw.com.au/&gt;

Spatial Science
Email - gis@anonymised.com<mailto:gis@anonymised.com>
[cid:image002.png@anonymised.com]<http://vmags/&gt;

(attachments)

image001.png
image002.png

Hi,

2015-12-09 6:00 GMT+01:00 Mark Noonan <Mark.Noonan@anonymised.com>:

Hi

I am trying to harvest a geoportal REST/csw that is on the same virtual
server as Geonetwork 3.0.2. Neither the CSW or geoportalREST is working.

For CSW I used this address: http://server:8080/geoportal/csw
For REST I used: http://server:8080/geoportal

Do you have any public services for testing ?

Thanks.

Francois

I also applied to 'add-gmd-prefix' to the XSL transformation and tested
on/off remote authentication.

I have tested accessing the CSW in QGIS and it works fine.

I get the following log error when I run the harvest:

{"error": { "message": "opendap.servlet.BadURLException: This doesn't seem
like a harvester log file. Stopping possible hacking attempt to uri:
logs\harvester_geoPREST_WaterNSW_GeoportalREST_201512091557.log" , "class":
"RuntimeException" , "stack": { "at":
"jeeves.transaction.TransactionManager TransactionManager.java line 98
#runInTransaction" , "at": "jeeves.server.dispatchers.ServiceInfo
ServiceInfo.java line 114 #execServices" , "at":
"jeeves.server.dispatchers.ServiceManager ServiceManager.java line 442
#dispatch" , "at": "jeeves.server.dispatchers.ServiceManager
ServiceManager.java line 384 #dispatch" , "at": "jeeves.server.JeevesEngine
JeevesEngine.java line 600 #dispatch" , "at":
"org.fao.geonet.services.main.GenericController GenericController.java line
106 #dispatch" , "at": "sun.reflect.GeneratedMethodAccessor279 ??? line -1
#invoke" , "at": "sun.reflect.DelegatingMethodAccessorImpl ??? line -1
#invoke" , "at": "java.lang.reflect.Method ??? line -1 #invoke" , "at":
"org.springframework.web.method.support.InvocableHandlerMethod
InvocableHandlerMethod.java line 219 #invoke" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 17 #access$001" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 30 #doInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet$1
JeevesDispatcherServlet.java line 27 #doInTransaction" , "at":
"jeeves.transaction.TransactionManager TransactionManager.java line 63
#runInTransaction" , "at":
"jeeves.config.springutil.JeevesDispatcherServlet
JeevesDispatcherServlet.java line 24 #doDispatch" , "at":
"org.fao.geonet.monitor.webapp.WebappMetricsFilter WebappMetricsFilter.java
line 96 #doFilter" , "at":
"org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter
MetricsRegistryInitializerFilter.java line 31 #doFilter" , "at":
"org.geonetwork.http.SessionTimeoutCookieFilter
SessionTimeoutCookieFilter.java line 56 #doFilter" , "at":
"jeeves.config.springutil.PassthroughFilter PassthroughFilter.java line 26
#doFilter" , "at": "jeeves.config.springutil.MultiNodeAuthenticationFilter
MultiNodeAuthenticationFilter.java line 98 #doFilter" , "at":
"jeeves.config.springutil.JeevesDelegatingFilterProxy
JeevesDelegatingFilterProxy.java line 64 #doFilter" } , "request": {} } }

Regards

Mark Noonan
Spatial Services Manager

[http://www.impressdesign.com.au/images/water_nsw_logo.png\]

Level 4, 2-6 Station Street. Penrith NSW 2751
T: 02 47242310 M: 0408169624
mark.noonan@anonymised.com<mailto:mark.noonan@anonymised.com>
www.waternsw.com.au<http://www.waternsw.com.au/&gt;

Spatial Science
Email - gis@anonymised.com<mailto:gis@anonymised.com>
[cid:image002.png@anonymised.com]<http://vmags/&gt;

------------------------------------------------------------------------------

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

Sorry, I don’t have any public services for testing.

Regards

Mark Noonan
Spatial Services Manager

From: Francois Prunayre [mailto:fx.prunayre@…54…]
Sent: Tuesday, 15 December 2015 10:25 PM
To: Mark Noonan
Cc: geonetwork-users@lists.sourceforge.net
Subject: Re: [GeoNetwork-users] geoportalREST errors

Hi,

2015-12-09 6:00 GMT+01:00 Mark Noonan <Mark.Noonan@...1476...<mailto:Mark.Noonan@…1476…>>:
Hi

I am trying to harvest a geoportal REST/csw that is on the same virtual server as Geonetwork 3.0.2. Neither the CSW or geoportalREST is working.

For CSW I used this address: http://server:8080/geoportal/csw
For REST I used: http://server:8080/geoportal

Do you have any public services for testing ?

Thanks.

Francois

I also applied to 'add-gmd-prefix' to the XSL transformation and tested on/off remote authentication.

I have tested accessing the CSW in QGIS and it works fine.

I get the following log error when I run the harvest:

{"error": { "message": "opendap.servlet.BadURLException: This doesn't seem like a harvester log file. Stopping possible hacking attempt to uri: logs\harvester_geoPREST_WaterNSW_GeoportalREST_201512091557.log" , "class": "RuntimeException" , "stack": { "at": "jeeves.transaction.TransactionManager TransactionManager.java line 98 #runInTransaction" , "at": "jeeves.server.dispatchers.ServiceInfo ServiceInfo.java line 114 #execServices" , "at": "jeeves.server.dispatchers.ServiceManager ServiceManager.java line 442 #dispatch" , "at": "jeeves.server.dispatchers.ServiceManager ServiceManager.java line 384 #dispatch" , "at": "jeeves.server.JeevesEngine JeevesEngine.java line 600 #dispatch" , "at": "org.fao.geonet.services.main.GenericController GenericController.java line 106 #dispatch" , "at": "sun.reflect.GeneratedMethodAccessor279 ??? line -1 #invoke" , "at": "sun.reflect.DelegatingMethodAccessorImpl ??? line -1 #invoke" , "at": "java.lang.reflect.Method ??? line -1 #invoke" , "at": "org.springframework.web.method.support.InvocableHandlerMethod InvocableHandlerMethod.java line 219 #invoke" , "at": "jeeves.config.springutil.JeevesDispatcherServlet JeevesDispatcherServlet.java line 17 #access$001" , "at": "jeeves.config.springutil.JeevesDispatcherServlet$1 JeevesDispatcherServlet.java line 30 #doInTransaction" , "at": "jeeves.config.springutil.JeevesDispatcherServlet$1 JeevesDispatcherServlet.java line 27 #doInTransaction" , "at": "jeeves.transaction.TransactionManager TransactionManager.java line 63 #runInTransaction" , "at": "jeeves.config.springutil.JeevesDispatcherServlet JeevesDispatcherServlet.java line 24 #doDispatch" , "at": "org.fao.geonet.monitor.webapp.WebappMetricsFilter WebappMetricsFilter.java line 96 #doFilter" , "at": "org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter MetricsRegistryInitializerFilter.java line 31 #doFilter" , "at": "org.geonetwork.http.SessionTimeoutCookieFilter SessionTimeoutCookieFilter.java line 56 #doFilter" , "at": "jeeves.config.springutil.PassthroughFilter PassthroughFilter.java line 26 #doFilter" , "at": "jeeves.config.springutil.MultiNodeAuthenticationFilter MultiNodeAuthenticationFilter.java line 98 #doFilter" , "at": "jeeves.config.springutil.JeevesDelegatingFilterProxy JeevesDelegatingFilterProxy.java line 64 #doFilter" } , "request": {} } }

Regards

Mark Noonan
Spatial Services Manager

[http://www.impressdesign.com.au/images/water_nsw_logo.png\]

Level 4, 2-6 Station Street. Penrith NSW 2751
T: 02 47242310<tel:02%2047242310> M: 0408169624<tel:0408169624>
mark.noonan@...1476...<mailto:mark.noonan@…1476…><mailto:mark.noonan@…1476…>
www.waternsw.com.au<http://www.waternsw.com.au><http://www.waternsw.com.au/&gt;

Spatial Science
Email - gis@...1477...<mailto:gis@…1477…><mailto:gis@…1477…>
[cid:image002.png@...1478...]<http://vmags/&gt;

------------------------------------------------------------------------------

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net<mailto:GeoNetwork-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Hi Francois,

Do you have any public services for testing ?

I'm also seeing this error message running GeoNetwork 3.0.4.0 on Windows 10
under Tomcat 7.0.57 when attempting to harvest the public Esri Geoportal
Server at http://www.landscape.blm.gov/geoportal:

/{"error": { "message": "opendap.servlet.BadURLException: This doesn't seem
like a harvester log file. Stopping possible hacking attempt to uri:
logs\harvester_geoPREST_Bureau_of_Land_Management_201606170947.log"/

Thanks for any advice,
Steve

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/geoportalREST-errors-tp5240461p5272113.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.