From: Gabriel R. <gr...@op...> - 2012-06-28 16:22:34
|
Definitely a bug in geoserver's WMS.getMaxAnimationTime(). Looks to be fixed on trunk as a side effect of the new security subsystem (so says the commit logs). Wondering how's it related to gwc though. Before deleting the tiles you were able of restarting geoserver? How did you delete the tiles? What GeoServer version is it? (bet one of the 2.1 series, but which one) Try removing all the gwc jars from WEB-INF/lib (*gwc*) and see it geoserver starts without gwc at all. (or better save them to a tmp location so you can restore gwc). It may be due to some gwc configuration being loaded on a separate thread, and whether that happens may be related to how you deleted the tiles. Try removing the <data dir>/gwc directory completely and restart? On Thu, Jun 28, 2012 at 12:58 PM, Stephen Crawford <sr...@ps...> wrote: > All, > > Sent this out the other day and didn't get anybody to bite, so I'm > trying again: > > I cannot get geoserver to start. It had been working but I removed my > GWC tiles because i was going to recreate them with new styles. Now > geoserver does not start on a Tomcat restart, nor can I start it from > the Tomcat manager. GS log is below. > > Thanks, > Steve > > 2012-06-26 14:08:28,992 INFO [gwc.config] - Initializing GeoServer > specific GWC configuration from gwc-gs.xml > 2012-06-26 14:08:29,162 INFO [storage.DefaultStorageFinder] - > ******************************************************************************************************************** > 2012-06-26 14:08:29,162 INFO [storage.DefaultStorageFinder] - *** Found > Java environment variable GEOSERVER_DATA_DIR set to /var/www/geo_data, > using it as the default prefix. *** > 2012-06-26 14:08:29,162 INFO [storage.DefaultStorageFinder] - > ******************************************************************************************************************** > 2012-06-26 14:08:29,433 INFO [jdbc.JDBCMBWrapper] - MetaStore database > is version 120 > 2012-06-26 14:08:29,454 INFO [config.XMLConfiguration] - Will look for > geowebcache.xml in '/var/www/geo_data/gwc' > 2012-06-26 14:08:29,457 INFO [config.XMLConfiguration] - Found > configuration file in /var/www/geo_data/gwc > 2012-06-26 14:08:29,503 INFO [config.XMLConfiguration] - Configuration > file validated fine. > 2012-06-26 14:08:29,523 INFO [config.XMLConfiguration] - Initializing > GridSets from /var/www/geo_data/gwc > 2012-06-26 14:08:29,523 INFO [config.XMLConfiguration] - Initializing > layers from /var/www/geo_data/gwc > 2012-06-26 14:08:29,523 INFO [layer.TileLayerDispatcher] - Configuration > /var/www/geo_data/gwc contained no layers. > 2012-06-26 14:08:29,611 INFO [storage.EntityStoreBuilder] - Neither disk > quota page store' cache memory percent nor cache size was provided. > Defaulting to 25% Heap Size > 2012-06-26 14:08:31,579 INFO [storage.BDBQuotaStore] - Berkeley DB JE > Disk Quota page store configured at > /var/www/geo_data/gwc/diskquota_page_store > 2012-06-26 14:08:31,581 INFO [storage.BDBQuotaStore] - Quota Store > initialized. Global quota: 0.0 B > 2012-06-26 14:08:31,583 INFO [diskquota.ConfigLoader] - DiskQuota > configuration not found: /var/www/geo_data/gwc/geowebcache-diskquota.xml > 2012-06-26 14:08:31,586 INFO [diskquota.DiskQuotaMonitor] - Setting up > disk quota periodic enforcement task > 2012-06-26 14:08:31,586 INFO [diskquota.DiskQuotaMonitor] - 0 layers > configured with their own quotas. > 2012-06-26 14:08:31,587 INFO [diskquota.DiskQuotaMonitor] - 310 layers > attached to global quota 500.0 MB > 2012-06-26 14:08:31,669 INFO [diskquota.DiskQuotaMonitor] - Disk quota > periodic enforcement task set up every 10 SECONDS > 2012-06-26 14:08:32,687 INFO [geowebcache.GeoWebCacheDispatcher] - > Invoked setServletPrefix(gwc) > 2012-06-26 14:08:32,748 INFO [georss.GeoRSSPoller] - Initializing GeoRSS > poller in a background job... > 2012-06-26 14:08:32,791 INFO [georss.GeoRSSPoller] - No enabled GeoRSS > feeds found, poller will not run. > 2012-06-26 14:08:32,994 INFO [rest.RESTDispatcher] - Created > RESTDispatcher with 9 paths > 2012-06-26 14:08:33,015 INFO [wms.WMSService] - Will NOT recombine tiles > for non-tiling clients. > 2012-06-26 14:08:33,015 INFO [wms.WMSService] - Will proxy requests to > backend that are not getmap or getcapabilities. > 2012-06-26 14:08:33,080 INFO [org.geoserver] - GeoServer configuration > lock is enabled > 2012-06-26 14:08:34,262 ERROR [context.ContextLoader] - Context > initialization failed > java.lang.NullPointerException > at org.geoserver.wms.WMS.getMaxAnimatorRenderingTime(WMS.java:443) > at > org.geoserver.wms.WMSLifecycleHandler.resetAnimatorExecutorService(WMSLifecycleHandler.java:77) > at > org.geoserver.wms.WMSLifecycleHandler.onApplicationEvent(WMSLifecycleHandler.java:133) > at > org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78) > at > org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49) > at > org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76) > at > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:275) > at > org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:737) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:384) > at > org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) > at > org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) > at > org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) > at > org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4467) > at > org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1251) > at > org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:613) > at > org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) > at > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) > at java.lang.Thread.run(Thread.java:662) > > -- > Stephen Crawford > Center for Environmental Informatics > The Pennsylvania State University > > > -- > Stephen Crawford > Center for Environmental Informatics > The Pennsylvania State University > sr...@ps... > 814.865.9905 > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. |