Yes, you are right.

I delete the LayerInfoImpl-4b9ea1ed:


and geoserver started again.

thanks a lot.

E.

________________________________
Da: Jonathan Moules <[email protected]>
Inviato: mercoledì 8 marzo 2017 14.23
A: Eugenio Trumpy
Cc: [email protected]
Oggetto: Re: [Geoserver-users] errors gwcFacade and DiskQuotaMonitor

Hi Eugenio,
I think this is the important line:
"Could not locate a layer or layer group with id 
LayerInfoImpl-4b9ea1ed:15a87d16d6a:-7ff9 within GeoServer configuration, the 
GWC configuration seems to be out of synch"

Maybe try clearing and rebuilding your GWC?
Cheers,
Jonathan

---- On Mon, 06 Mar 2017 17:16:59 +0000 Eugenio Trumpy<[email protected]> 
wrote ----

Hi all,


I discovered these errors on geoserver log:


2017-03-06 17:14:45,012 ERROR [org.springframework.web.context.ContextLoader] - 
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.5.jar!/applicationContext.xml]:
 Cannot r$
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
        at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
        at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
        at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
        at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5010)
        at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5504)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at 
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)
        at 
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:692)
        at 
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)    
                                                                                
           at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'DiskQuotaMonitor' defined in URL 
[jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.5.jar!/geowebcache-dis$
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323)
        ... 48 more
Caused by: java.lang.IllegalStateException: Could not locate a layer or layer 
group with id LayerInfoImpl-4b9ea1ed:15a87d16d6a:-7ff9 within GeoServer 
configuration, the GWC configuration seems to be out of synch
        at 
org.geoserver.gwc.layer.GeoServerTileLayer.getPublishedInfo(GeoServerTileLayer.java:314)
        at 
org.geoserver.gwc.layer.GeoServerTileLayer.getLayerInfo(GeoServerTileLayer.java:293)
        at 
org.geoserver.gwc.layer.GeoServerTileLayer.getLatLonBbox(GeoServerTileLayer.java:257)
        at 
org.geoserver.gwc.layer.GeoServerTileLayer.checkGridSubsets(GeoServerTileLayer.java:784)
        at 
org.geoserver.gwc.layer.GeoServerTileLayer.getGridSubsets(GeoServerTileLayer.java:772)
        at 
org.geowebcache.diskquota.LayerCacheInfoBuilder.findOnDiskTileSets(LayerCacheInfoBuilder.java:148)
        at 
org.geowebcache.diskquota.LayerCacheInfoBuilder.buildCacheInfo(LayerCacheInfoBuilder.java:110)
        at 
org.geowebcache.diskquota.DiskQuotaMonitor.launchCacheInfoGatheringThreads(DiskQuotaMonitor.java:413)
        at 
org.geowebcache.diskquota.DiskQuotaMonitor.startUpInternal(DiskQuotaMonitor.java:272)
        at 
org.geowebcache.diskquota.DiskQuotaMonitor.startUp(DiskQuotaMonitor.java:231)
        at 
org.geowebcache.diskquota.DiskQuotaMonitor.afterPropertiesSet(DiskQuotaMonitor.java:188)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
        ... 55 more


I never faced this kind of errors: gwcFacade and DiskQuotaMonitor


Any suggestions?

[ubuntu 14.04 - tomcat7 - java7]



best


Eugenio


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to