[GeoNode-users] gs-geofence-server : cannot be resolved to absolute file path
Eduin Yezid Carrillo Vega
ecarrillo at umaic.org
Tue Oct 16 07:31:24 PDT 2018
Thank you Alessio.
Geoserver did´t start. It hangs. It starts again when
gs-geofence-server-xx.xx.jar is removed from WEB-INF, but no layer is
displayed due to lack of permissions server.
--
Eduin Yezid Carrillo Vega
El jue., 11 de oct. de 2018 a la(s) 02:42, Alessio Fabiani (
alessio.fabiani at geo-solutions.it) escribió:
> It is just a warning. As long ad GeoServer starts correctly, you can just
> ignore it.
>
> Il giorno mer 10 ott 2018 alle ore 21:28 Eduin Yezid Carrillo Vega <
> ecarrillo at umaic.org> ha scritto:
>
>> Thanks for run up build server again. Now I´m getting this error with
>> geofence server. This error had been reported last year to this list, but I
>> tested with Geonode 2.8x and 2.10x and it looks same response.
>>
>> Primary log looks like WARNING for geofence-default-override.properties
>> file not found but whole TOMCAT stopped working
>>
>> - If i delete /WEB-INF/lib/gs-geofence-server-xx.xx.jar, error gone, but
>> layers do not load
>> - If I restore jar to /WEB-INF/lib/, error returns
>>
>> Tested in ubuntu with custom:
>> * geonode.git at 2.8 + geoserver-2.12.x
>> * geonode.git at 2.10rc4 + geoserver-2.14.x
>>
>> Thanks for your help
>>
>> WARN [geoserver.config] - Error reading resource URL
>> [jar:file:/usr/share/geoserver214/WEB-INF/lib/gs-geofence-server-2.14-20181006.100834-490.jar!/geofence-default-override.properties]
>> java.io.FileNotFoundException: URL
>> [jar:file:/usr/share/geoserver214/WEB-INF/lib/gs-geofence-server-2.14-20181006.100834-490.jar!/geofence-default-override.properties]
>> cannot be resolved to absolute file path because it does not reside in the
>> file system:
>> jar:file:/usr/share/geoserver214/WEB-INF/lib/gs-geofence-server-2.14-20181006.100834-490.jar!/geofence-default-override.properties
>> at
>> org.springframework.util.ResourceUtils.getFile(ResourceUtils.java:215)
>> at
>> org.springframework.core.io.AbstractFileResolvingResource.getFile(AbstractFileResolvingResource.java:53)
>> at
>> org.springframework.core.io.UrlResource.getFile(UrlResource.java:213)
>> at
>> org.geoserver.config.SpringResourceAdaptor.relative(SpringResourceAdaptor.java:35)
>> at
>> org.geoserver.config.GeoServerPropertyOverrideConfigurer.setLocations(GeoServerPropertyOverrideConfigurer.java:49)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.beans.BeanWrapperImpl$BeanPropertyHandler.setValue(BeanWrapperImpl.java:354)
>> at
>> org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:467)
>> at
>> org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:290)
>> at
>> org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
>> at
>> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
>> at
>> org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1570)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1284)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
>> at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
>> at
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
>> at
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>> at
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
>> at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
>> at
>> org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:151)
>> at
>> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
>> at
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
>> at
>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
>> at
>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
>> at
>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>> at
>> org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:22)
>> at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5068)
>> at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5584)
>> at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>> at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
>> at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
>> at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
>> at
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
>> at
>> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1962)
>> at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> at
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>> at java.lang.Thread.run(Thread.java:748)
>> oct 10, 2018 2:02:36 PM org.geoserver.platform.GeoServerExtensions
>> checkContext
>>
>>
>>
>> --
>> Eduin Yezid Carrillo Vega
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>
>
> --
>
> ==
>
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
> Ing. Alessio Fabiani
>
> @alfa7691
> Founder/Technical Lead
>
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A - 55054 Massarosa (LU) - Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39 331 6233686
>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
> -------------------------------------------------------
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20181016/e6c0c3c8/attachment-0001.html>
More information about the geonode-users
mailing list