Actions
Task #12884
closedAlienAndInvasiveSpecies : Geonetwork Resource
Start date:
Nov 15, 2018
Due date:
% Done:
100%
Estimated time:
Infrastructure:
Production
Description
I've seen the following exception on portal log:
2018-11-15 08:48:04,816 INFO server.GCubeGeoExplorerServletImpl [Timer-4,refreshParametersCache:249] %[PORTAL] 494569510 [Timer-4] INFO org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl - refreshParametersCache start... 2018-11-15 08:48:04,817 INFO server.GCubeGeoExplorerServletImpl [Timer-4,refreshParametersCache:253] %[PORTAL] 494569511 [Timer-4] INFO org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl - Refreshing cache with gis parameters for scope:/d4science.research-infrastructures.eu/gCubeApps/AlienAndInvasiveSpecies 2018-11-15 08:48:04,829 INFO o.g.r.d.i.Helper [Timer-4,queryAddAuthenticationControl:200][PORTAL] 578391511 [Timer-4] INFO org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* ) as xs:boolean { $value = $seq } ; for $entry0ValueAuth in collection('/db/Profiles/RuntimeResource')//Document/Data/ic:Profile/Resource/Scopes where (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/gCubeApps/AlienAndInvasiveSpecies',$entry0ValueAuth/child::*[local-name()='Scope']/text())) and ( ($entry0ValueAuth/../Profile/Name/string() eq 'GeoServer') ) return $entry0ValueAuth/.. 2018-11-15 08:48:04,903 INFO o.g.r.d.i.Helper [Timer-4,queryAddAuthenticationControl:200][PORTAL] 578391585 [Timer-4] INFO org.gcube.resources.discovery.icclient.Helper - submitting filtered query: declare namespace ic = 'http://gcube-system.org/namespaces/informationsystem/registry'; declare namespace functx = "http://www.functx.com"; declare function functx:is-value-in-sequence ( $value as xs:anyAtomicType? , $seq as xs:anyAtomicType* ) as xs:boolean { $value = $seq } ; for $entry0ValueAuth in collection('/db/Profiles/RuntimeResource')//Document/Data/ic:Profile/Resource/Scopes where (functx:is-value-in-sequence('/d4science.research-infrastructures.eu/gCubeApps/AlienAndInvasiveSpecies',$entry0ValueAuth/child::*[local-name()='Scope']/text())) and ( ($entry0ValueAuth/../Profile/Name/string() eq 'GeoNetwork') ) return $entry0ValueAuth/.. LOADING ********* FROM /WEB-INF/jsp/GCubeCkanDataCatalogPortlet_view.jsp 2018-11-15 08:48:04,971 ERROR server.GCubeGeoExplorerServletImpl [Timer-4,getParameters:171] %java.lang.Exception: Cannot retrieve the runtime resource: GeoNetwork at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.getParameters(GCubeGeoExplorerServletImpl.java:134) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.retrieveGisParameters(GCubeGeoExplorerServletImpl.java:200) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.refreshParametersCache(GCubeGeoExplorerServletImpl.java:257) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl$1.run(GCubeGeoExplorerServletImpl.java:81) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) [PORTAL] 494569665 [Timer-4] ERROR org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl - Sorry, an error occurred on reading parameters in Runtime Reosurces for scope: /d4science.research-infrastructures.eu/gCubeApps/AlienAndInvasiveSpecies resourceName: GeoNetwork java.lang.Exception: Cannot retrieve the runtime resource: GeoNetwork at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.getParameters(GCubeGeoExplorerServletImpl.java:134) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.retrieveGisParameters(GCubeGeoExplorerServletImpl.java:200) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.refreshParametersCache(GCubeGeoExplorerServletImpl.java:257) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl$1.run(GCubeGeoExplorerServletImpl.java:81) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) java.lang.Exception: Cannot retrieve the runtime resource: GeoNetwork at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.getParameters(GCubeGeoExplorerServletImpl.java:134) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.retrieveGisParameters(GCubeGeoExplorerServletImpl.java:200) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl.refreshParametersCache(GCubeGeoExplorerServletImpl.java:257) at org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl$1.run(GCubeGeoExplorerServletImpl.java:81) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) 2018-11-15 08:48:04,971 INFO server.GCubeGeoExplorerServletImpl [Timer-4,retrieveGisParameters:211] %[PORTAL] 494569665 [Timer-4] INFO org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl - retrieved parameters done! 2018-11-15 08:48:04,971 INFO server.GCubeGeoExplorerServletImpl [Timer-4,refreshParametersCache:260] %[PORTAL] 494569665 [Timer-4] INFO org.gcube.portlets.user.gcubegeoexplorer.server.GCubeGeoExplorerServletImpl - Refreshing completed LOADING ********* FROM /WEB-INF/jsp/GCubeCkanDataCatalogPortlet_view.jsp LOADING ********* FROM /WEB-INF/jsp/GCubeCkanDataCatalogPortlet_view.jsp LOADING ********* FROM /WEB-INF/jsp/GCubeCkanDataCatalogPortlet_view.jsp
the service endpoint searched is named "Geonetwork" but the Geonetwork ServiceEndpont present in AlienAndInvasiveSpecies is named "GeoNetwork 3 Alien".
Please could you check and tell me if it's needed to change the resource name of the geonetwork resource of Alien Vre?
Updated by Francesco Mangiacrapa over 6 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Roberto and Fabio don't worry about above exceptions... simply you may ignore it.
They are generated from deprecated code that will be removed asap (they are java threads which updating some caches used in the past).
The GeoExplorer is reading the geonetwork service endpoints through the Geonetwork library provided by Fabio, in fact, it works fine.
I'm going to close this ticket.
Actions