Hello list

I am using GeoServer 2.1-SNAPSHOT (unluckily upgrading is not an
option for now) and suddenly I am getting a GWC error (see below) that
prevents GeoServer to correctly start.
This can be easily fixed by removing the gwc directory, but I would
like to know if there is a way to fix it someway to recover the gwc
directory (I do not want to regenerate it).

...
19 Aug 08:51:18 INFO [org.geoserver] - Loaded service 'wcs', enabled
19 Aug 08:51:18 INFO [org.geoserver] - Loaded service 'wfs', enabled
19 Aug 08:51:18 INFO [org.geoserver] - Loaded service 'wms', enabled
19 Aug 08:51:18 INFO [gwc.config] - Initializing GeoServer specific
GWC configuration from gwc-gs.xml
19 Aug 08:51:18 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
19 Aug 08:51:18 INFO [storage.DefaultStorageFinder] - *** Reverting to
java.io.tmpdir null for storage. Please set GEOWEBCACHE_CACHE_DIR. ***
19 Aug 08:51:18 INFO [storage.DefaultStorageFinder] -
***************************************************************************************
19 Aug 08:51:20 ERROR [jdbc.JDBCMetaBackend] - Failed to start JDBC
metastore: General error: java.lang.RuntimeException: Unexpected code
path [50000-119]
19 Aug 08:51:20 WARN [jdbc.JDBCMetaBackend] - Disabling JDBC
metastore, not all functionality will be available!
19 Aug 08:51:20 INFO [config.XMLConfiguration] - Will look for
geowebcache.xml in
'/opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache'
19 Aug 08:51:20 INFO [config.XMLConfiguration] - Found configuration
file in /opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache
19 Aug 08:51:20 INFO [config.XMLConfiguration] - Configuration file
validated fine.
19 Aug 08:51:20 INFO [config.XMLConfiguration] - Initializing GridSets
from /opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache
19 Aug 08:51:20 INFO [config.XMLConfiguration] - Initializing layers
from /opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache
19 Aug 08:51:20 INFO [layer.TileLayerDispatcher] - Configuration
/opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache
contained no layers.
19 Aug 08:51:20 INFO [storage.EntityStoreBuilder] - Neither disk quota
page store' cache memory percent nor cache size was provided.
Defaulting to 25% Heap Size
19 Aug 08:51:22 INFO [storage.BDBQuotaStore] - Berkeley DB JE Disk
Quota page store configured at
/opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache/diskquota_page_store
19 Aug 08:51:22 INFO [storage.BDBQuotaStore] - Quota Store
initialized. Global quota: 11.62 GB
19 Aug 08:51:22 INFO [diskquota.ConfigLoader] - Quota config is:
/opt/tomcat7/prod/tomcat/apache-tomcat-7.0.34/temp/geowebcache/geowebcache-diskquota.xml
19 Aug 08:51:22 INFO [diskquota.DiskQuotaMonitor] - Setting up disk
quota periodic enforcement task
19 Aug 08:51:22 INFO [diskquota.DiskQuotaMonitor] - 0 layers
configured with their own quotas.
19 Aug 08:51:22 INFO [diskquota.DiskQuotaMonitor] - 228 layers
attached to global quota 15.0 GB
19 Aug 08:51:22 INFO [diskquota.DiskQuotaMonitor] - Disk quota
periodic enforcement task set up every 10 SECONDS
19 Aug 08:51:23 INFO [geowebcache.GeoWebCacheDispatcher] - Invoked
setServletPrefix(gwc)
19 Aug 08:51:23 INFO [georss.GeoRSSPoller] - Initializing GeoRSS
poller in a background job...
19 Aug 08:51:23 INFO [georss.GeoRSSPoller] - No enabled GeoRSS feeds
found, poller will not run.
19 Aug 08:51:23 INFO [rest.RESTDispatcher] - Created RESTDispatcher
with 11 paths
19 Aug 08:51:23 INFO [wms.WMSService] - Will NOT recombine tiles for
non-tiling clients.
19 Aug 08:51:23 INFO [wms.WMSService] - Will proxy requests to backend
that are not getmap or getcapabilities.
19 Aug 08:51:23 INFO [org.geoserver] - GeoServer configuration lock is enabled

In case it can be interesting, this is the geowebcache-diskquota.xml file:

gwcQuotaConfiguration>
  <enabled>false</enabled>
  <diskBlockSize>4096</diskBlockSize>
  <cacheCleanUpFrequency>10</cacheCleanUpFrequency>
  <cacheCleanUpUnits>SECONDS</cacheCleanUpUnits>
  <maxConcurrentCleanUps>2</maxConcurrentCleanUps>
  <globalExpirationPolicyName>LFU</globalExpirationPolicyName>
  <globalQuota>
    <value>15</value>
    <units>GiB</units>
  </globalQuota>
</gwcQuotaConfiguration>

thanks
p

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to