I understand using these pre-generated TMS tiles (adapted to gwc's
storage layout) worked in a previous version but IMHO that was "by
accident" cause I don't recall that being a supported procedure, but I
may be wrong.

In any case, if you send me the first couple levels of your cache in a
zip/tar file I'll be glad to take a look and see what's going on and
whether that could be worked around somehow.

Cheers,
Gabriel

On Tue, Jan 29, 2013 at 5:56 PM, Gavin Fleming <ga...@afrispatial.co.za> wrote:
> Thanks Gabriel,
>
> We've tried that and various other combinations with the gridsets and no
> luck.
>
> What seems to be the problem is the new requirement for the wmsUrl in the
> geowebcache.xml schema. Previously we did not define one (with geoserver
> 2.1.3). Now we have had to define one but the catch is, the layers are not
> available nor are they defined as geoserver layers, since they are
> pregenerated static caches. Hence defining a wmsUrl pointing to a
> geowebcache wms layer seems to be a recursive self-reference and thus a
> problem. We've also tried with a plain geoserver wms url and no url and
> neither of these work either.
>
> Does this seem like a likely diagnosis and how could we get around it?
>
> Gavin
>
>
> On 29/01/2013 00:00, Gabriel Roldan wrote:
>>
>> Hey is the definition of the 900913 gridset needed in your
>> geowebcache.xml? There was a version of geoserver that shipped with a
>> (arguably[1]) wrong internal definition of it, and then we had to
>> revert to the "common use" definition just due to this kind of errors
>> you're getting.
>> You may want to just delete the gridset definition from your
>> geowebcache.xml. Can you try that and see how it goes?
>>
>>
>>
>> On Sat, Jan 19, 2013 at 2:33 PM, Gavin Fleming <ga...@afrispatial.co.za>
>> wrote:
>>>
>>> We've now upgraded to geoserver 2.2.3 and changed the <wmsUrl> tag to
>>> include the gwc/service path and are now getting errors like this from
>>> demo client requests:
>>>
>>> ERROR [geowebcache.GeoWebCacheDispatcher] - Requested horizontal
>>> resolution: 687.9332544708304 , best match: 611.4962261962891 exceeds
>>> 10% threshold. Perhaps the client is configured  with an incorrect set
>>> of scales (resolutions),  or the DPI setting is off compared to the one
>>> in GWC ? http://localhost:8080/geoserver/gwc/service/wms
>>>
>>> the layers are pregenerated local TMS layers (from gdal2tiles.py) that
>>> we modified to match gwc directory and naming structure. i.e. they do
>>> not actually come from a WMS service.
>>>
>>> current geowebcache.xml:
>>>
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <gwcConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>> xsi:schemaLocation="http://geowebcache.org/schema/1.3.0
>>> http://geowebcache.org/schema/1.3.0/geowebcache.xsd";
>>> xmlns="http://geowebcache.org/schema/1.3.0";>
>>>     <version>1.3.0</version>
>>>     <backendTimeout>120</backendTimeout>
>>>     <gridSets>
>>>       <gridSet>
>>>         <name>EPSG:900913</name>
>>>         <description>This well-known scale set has been defined to be
>>> compatible with Google Maps and Microsoft Live Map projections and zoom
>>> levels. Level 0 allows representing the whole world in a single 256x256
>>> pixels. The next level represents the whole world in 2x2 tiles of
>>> 256x256 pixels and so on in powers of 2. Scale denominator is only
>>> accurate near the equator.</description>
>>>         <srs>
>>>           <number>900913</number>
>>>         </srs>
>>>         <extent>
>>>           <coords>
>>>             <double>-2.003750834E7</double>
>>>             <double>-2.003750834E7</double>
>>>             <double>2.003750834E7</double>
>>>             <double>2.003750834E7</double>
>>>           </coords>
>>>         </extent>
>>>         <alignTopLeft>false</alignTopLeft>
>>>         <resolutions>
>>>           <double>156543.03390625</double>
>>>           <double>78271.516953125</double>
>>>           <double>39135.7584765625</double>
>>>           <double>19567.87923828125</double>
>>>           <double>9783.939619140625</double>
>>>           <double>4891.9698095703125</double>
>>>           <double>2445.9849047851562</double>
>>>           <double>1222.9924523925781</double>
>>>           <double>611.4962261962891</double>
>>>           <double>305.74811309814453</double>
>>>           <double>152.87405654907226</double>
>>>           <double>76.43702827453613</double>
>>>           <double>38.218514137268066</double>
>>>           <double>19.109257068634033</double>
>>>           <double>9.554628534317017</double>
>>>           <double>4.777314267158508</double>
>>>           <double>2.388657133579254</double>
>>>           <double>1.194328566789627</double>
>>>           <double>0.5971642833948135</double>
>>>           <double>0.29858214169740677</double>
>>>           <double>0.14929107084870338</double>
>>>           <double>0.07464553542435169</double>
>>>         </resolutions>
>>>         <metersPerUnit>1.0</metersPerUnit>
>>>         <pixelSize>2.985823029317633E-4</pixelSize>
>>>         <scaleNames>
>>>           <string>EPSG:900913:0</string>
>>>           <string>EPSG:900913:1</string>
>>>           <string>EPSG:900913:2</string>
>>>           <string>EPSG:900913:3</string>
>>>           <string>EPSG:900913:4</string>
>>>           <string>EPSG:900913:5</string>
>>>           <string>EPSG:900913:6</string>
>>>           <string>EPSG:900913:7</string>
>>>           <string>EPSG:900913:8</string>
>>>           <string>EPSG:900913:9</string>
>>>           <string>EPSG:900913:10</string>
>>>           <string>EPSG:900913:11</string>
>>>           <string>EPSG:900913:12</string>
>>>           <string>EPSG:900913:13</string>
>>>           <string>EPSG:900913:14</string>
>>>           <string>EPSG:900913:15</string>
>>>           <string>EPSG:900913:16</string>
>>>           <string>EPSG:900913:17</string>
>>>           <string>EPSG:900913:18</string>
>>>           <string>EPSG:900913:19</string>
>>>           <string>EPSG:900913:20</string>
>>>           <string>EPSG:900913:21</string>
>>>         </scaleNames>
>>>         <tileHeight>256</tileHeight>
>>>         <tileWidth>256</tileWidth>
>>>         <yCoordinateFirst>false</yCoordinateFirst>
>>>       </gridSet>
>>>       <gridSet>
>>>         <name>My_EPSG:900913</name>
>>>         <description>This well-known scale set has been defined to be
>>> compatible with Google Maps and Microsoft Live Map projections and zoom
>>> levels. Level 0 allows representing the whole world in a single 256x256
>>> pixels. The next level represents the whole world in 2x2 tiles of
>>> 256x256 pixels and so on in powers of 2. Scale denominator is only
>>> accurate near the equator.</description>
>>>         <srs>
>>>           <number>900913</number>
>>>         </srs>
>>>         <extent>
>>>           <coords>
>>>             <double>-2.003750834E7</double>
>>>             <double>-2.003750834E7</double>
>>>             <double>2.003750834E7</double>
>>>             <double>2.003750834E7</double>
>>>           </coords>
>>>         </extent>
>>>         <alignTopLeft>false</alignTopLeft>
>>>         <resolutions>
>>>           <double>156543.03390625</double>
>>>           <double>78271.516953125</double>
>>>           <double>39135.7584765625</double>
>>>           <double>19567.87923828125</double>
>>>           <double>9783.939619140625</double>
>>>           <double>4891.9698095703125</double>
>>>           <double>2445.9849047851562</double>
>>>           <double>1222.9924523925781</double>
>>>           <double>611.4962261962891</double>
>>>           <double>229.31108482361014</double>
>>>           <double>152.87405654907226</double>
>>>           <double>76.43702827453613</double>
>>>           <double>38.218514137268066</double>
>>>           <double>19.109257068634033</double>
>>>           <double>9.554628534317017</double>
>>>           <double>4.777314267158508</double>
>>>           <double>2.388657133579254</double>
>>>           <double>1.194328566789627</double>
>>>           <double>0.5971642833948135</double>
>>>           <double>0.2985821416974068</double>
>>>           <double>0.1492910708487034</double>
>>>           <double>0.0746455354243517</double>
>>>         </resolutions>
>>>         <metersPerUnit>1.0</metersPerUnit>
>>>         <pixelSize>2.8E-4</pixelSize>
>>>         <scaleNames>
>>>           <string>EPSG:900913:0</string>
>>>           <string>EPSG:900913:1</string>
>>>           <string>EPSG:900913:2</string>
>>>           <string>EPSG:900913:3</string>
>>>           <string>EPSG:900913:4</string>
>>>           <string>EPSG:900913:5</string>
>>>           <string>EPSG:900913:6</string>
>>>           <string>EPSG:900913:7</string>
>>>           <string>EPSG:900913:8</string>
>>>           <string>EPSG:900913:9</string>
>>>           <string>EPSG:900913:10</string>
>>>           <string>EPSG:900913:11</string>
>>>           <string>EPSG:900913:12</string>
>>>           <string>EPSG:900913:13</string>
>>>           <string>EPSG:900913:14</string>
>>>           <string>EPSG:900913:15</string>
>>>           <string>EPSG:900913:16</string>
>>>           <string>EPSG:900913:17</string>
>>>           <string>EPSG:900913:18</string>
>>>           <string>EPSG:900913:19</string>
>>>           <string>EPSG:900913:20</string>
>>>           <string>EPSG:900913:21</string>
>>>         </scaleNames>
>>>         <tileHeight>256</tileHeight>
>>>         <tileWidth>256</tileWidth>
>>>         <yCoordinateFirst>false</yCoordinateFirst>
>>>       </gridSet>
>>>     </gridSets>
>>>     <layers>
>>>       <wmsLayer>
>>>         <enabled>true</enabled>
>>>         <name>cct2011</name>
>>>         <metaInformation>
>>>           <title>CCT aerial images March 2011</title>
>>>           <description></description>
>>>         </metaInformation>
>>>         <mimeFormats>
>>>           <string>image/png</string>
>>>         </mimeFormats>
>>>         <gridSubsets>
>>>           <gridSubset>
>>>             <gridSetName>My_EPSG:900913</gridSetName>
>>>             <extent>
>>>               <coords>
>>>                 <double>2036414.12204</double>
>>>                 <double>-4077737.05935</double>
>>>                 <double>2116280.4959</double>
>>>                 <double>-3957743.13921</double>
>>>               </coords>
>>>             </extent>
>>>             <zoomStart>0</zoomStart>
>>>             <zoomStop>21</zoomStop>
>>>           </gridSubset>
>>>         </gridSubsets>
>>>         <metaWidthHeight>
>>>           <int>3</int>
>>>           <int>3</int>
>>>         </metaWidthHeight>
>>>         <expireCacheList>
>>>           <expirationRule minZoom="0" expiration="-2"/>
>>>         </expireCacheList>
>>>         <expireClientsList>
>>>           <expirationRule minZoom="0" expiration="7200"/>
>>>         </expireClientsList>
>>>         <backendTimeout>120</backendTimeout>
>>>         <cacheBypassAllowed>false</cacheBypassAllowed>
>>>         <wmsUrl>
>>> <string>http://localhost:8080/geoserver/gwc/service/wms?</string>
>>>         </wmsUrl>
>>>         <gutter>0</gutter>
>>>         <transparent>false</transparent>
>>>         <bgColor>0x0066FF</bgColor>
>>>         <concurrency>32</concurrency>
>>>       </wmsLayer>
>>>       <wmsLayer>
>>>         <enabled>true</enabled>
>>>         <name>drakensteinv2</name>
>>>         <metaInformation>
>>>           <title>Drakenstein aerial images</title>
>>>           <description></description>
>>>         </metaInformation>
>>>         <mimeFormats>
>>>           <string>image/png</string>
>>>         </mimeFormats>
>>>         <gridSubsets>
>>>           <gridSubset>
>>>             <gridSetName>My_EPSG:900913</gridSetName>
>>>             <extent>
>>>               <coords>
>>>                 <double>2091003.44832</double>
>>>                 <double>-4013485.11162</double>
>>>                 <double>2139137.19113</double>
>>>                 <double>-3911150.36013</double>
>>>               </coords>
>>>             </extent>
>>>             <zoomStart>10</zoomStart>
>>>             <zoomStop>20</zoomStop>
>>>           </gridSubset>
>>>         </gridSubsets>
>>>         <metaWidthHeight>
>>>           <int>3</int>
>>>           <int>3</int>
>>>         </metaWidthHeight>
>>>         <expireCacheList>
>>>           <expirationRule minZoom="0" expiration="-2"/>
>>>         </expireCacheList>
>>>         <expireClientsList>
>>>           <expirationRule minZoom="0" expiration="7200"/>
>>>         </expireClientsList>
>>>         <backendTimeout>120</backendTimeout>
>>>         <cacheBypassAllowed>false</cacheBypassAllowed>
>>>         <wmsUrl>
>>> <string>http://localhost:8080/geoserver/gwc/service/wms?</string>
>>>         </wmsUrl>
>>>         <gutter>0</gutter>
>>>         <transparent>false</transparent>
>>>         <bgColor>0x0066FF</bgColor>
>>>         <concurrency>32</concurrency>
>>>       </wmsLayer>
>>>     </layers>
>>> </gwcConfiguration>
>>>
>>> On 17/01/2013 17:24, Gavin Fleming wrote:
>>>>
>>>> Hi
>>>>
>>>> We had some pre-generated TMS caches being served by the GWC
>>>> integrated with GeoServer 2.1.3 quite happily.
>>>>
>>>> After an inadvertent upgrade to OpenGeo-suite geoserver (2.2 snapshot
>>>> I think, via apt), we re-installed GS 2.1.3 (via war). All is working
>>>> well except for the TMS layers.
>>>>
>>>> Below are
>>>>
>>>> 1) geowebcache.xml (which does validate)
>>>> 2) log output from a tile request
>>>> 3) extract of log output on restarting geoserver after clearing the
>>>> metastore and restarting
>>>>
>>>> I've tried everything I can think of but just can't get them working -
>>>> any help appreciated!
>>>>
>>>> t
>>>>
>>>> [1]
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <gwcConfiguration
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>> xmlns="http://geowebcache.org/schema/1.3.0";
>>>> xsi:schemaLocation="http://geowebcache.org/schema/1.3.0
>>>> http://geowebcache.org/schema/1.3.0/geowebcache.xsd";>
>>>>    <version>1.3.0</version>
>>>>    <backendTimeout>120</backendTimeout>
>>>>    <layers>
>>>>      <wmsLayer>
>>>>        <name>cct2011</name>
>>>>        <metaInformation>
>>>>          <title>CCT aerial images March 2011</title>
>>>>          <description/>
>>>>        </metaInformation>
>>>>        <mimeFormats>
>>>>          <string>image/png</string>
>>>>        </mimeFormats>
>>>>        <gridSubsets>
>>>>          <gridSubset>
>>>>            <gridSetName>EPSG:900913</gridSetName>
>>>>            <extent>
>>>>              <coords>
>>>>                <double>2036414.12204</double>
>>>>                <double>-4077737.05935</double>
>>>>                <double>2116280.4959</double>
>>>>                <double>-3957743.13921</double>
>>>>              </coords>
>>>>            </extent>
>>>>            <zoomStart>0</zoomStart>
>>>>            <zoomStop>21</zoomStop>
>>>>          </gridSubset>
>>>>        </gridSubsets>
>>>>        <wmsUrl>
>>>>          <string>http://onemap.co.za/geoserver/wms</string>
>>>>        </wmsUrl>
>>>>        <transparent>false</transparent>
>>>>        <bgColor>0x0066FF</bgColor>
>>>>      </wmsLayer>
>>>>      <wmsLayer>
>>>>        <name>drakensteinv2</name>
>>>>        <metaInformation>
>>>>          <title>Drakenstein aerial images</title>
>>>>          <description/>
>>>>        </metaInformation>
>>>>        <mimeFormats>
>>>>          <string>image/png</string>
>>>>        </mimeFormats>
>>>>        <gridSubsets>
>>>>          <gridSubset>
>>>>            <gridSetName>EPSG:900913</gridSetName>
>>>>            <extent>
>>>>              <coords>
>>>>                <double>2091003.44832</double>
>>>>                <double>-4013485.11162</double>
>>>>                <double>2139137.19113</double>
>>>>                <double>-3911150.36013</double>
>>>>              </coords>
>>>>            </extent>
>>>>            <zoomStart>10</zoomStart>
>>>>            <zoomStop>20</zoomStop>
>>>>          </gridSubset>
>>>>        </gridSubsets>
>>>>        <wmsUrl>
>>>>          <string>http://onemap.co.za/geoserver/wms</string>
>>>>        </wmsUrl>
>>>>        <transparent>false</transparent>
>>>>        <bgColor>0x0066FF</bgColor>
>>>>      </wmsLayer>
>>>>    </layers>
>>>> </gwcConfiguration>
>>>>
>>>>
>>>> [2]
>>>>
>>>> 2013-01-17 16:35:04,382 ERROR [geowebcache.GeoWebCacheDispatcher] -
>>>> null http://www.onemap.co.za/geoserver/gwc/service/wms
>>>> 2013-01-17 16:35:04,382 DEBUG [geowebcache.GeoWebCacheDispatcher] -
>>>> 2013-01-17 16:35:04,382 DEBUG [geoserver.filters] - Compressing output
>>>> for mimetype: text/html
>>>> 2013-01-17 16:35:04,412 DEBUG [geoserver.filters] - filtering
>>>> http://onemap.co.za/geoserver/wms
>>>> 2013-01-17 16:35:04,413 DEBUG [ows.OWSHandlerMapping] - Looking up
>>>> handler for [/wms]
>>>> 2013-01-17 16:35:04,413 DEBUG [ows.OWSHandlerMapping] - Looking up
>>>> handler for [/wms]
>>>> 2013-01-17 16:35:04,413 DEBUG [ows.OWSHandlerMapping] - Looking up
>>>> handler for [/wms]
>>>> 2013-01-17 16:35:04,413 DEBUG [ows.OWSHandlerMapping] - Looking up
>>>> handler for [/wms]
>>>> 2013-01-17 16:35:04,413 INFO [geoserver.wms] -
>>>> Request: getServiceInfo
>>>> 2013-01-17 16:35:04,413 ERROR [geoserver.ows] -
>>>> org.geoserver.platform.ServiceException: Could not find layer
>>>> drakensteinv2
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1180)
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:204)
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:74)
>>>>      at
>>>> org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1230)
>>>>      at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:488)
>>>>      at
>>>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:231)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
>>>>      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.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
>>>>      at
>>>>
>>>> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
>>>>      at
>>>>
>>>> org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>>>>      at
>>>>
>>>> org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      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.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:859)
>>>>      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)
>>>> 2013-01-17 16:35:04,414 WARN [wms.WMSHttpHelper] - MimeType mismatch,
>>>> expected image/png but got application/vnd.ogc.se_xml;charset=UTF-8
>>>> from http://onemap.co.za/geoserver/wms?:
>>>> <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE
>>>> ServiceExceptionReport SYSTEM
>>>>
>>>> "http://onemap.co.za:80/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";>
>>>> <ServiceExceptionReport version="1.1.1" > <ServiceException
>>>> code="LayerNotDefined">
>>>>        Could not find layer drakensteinv2
>>>> Details:
>>>> org.geoserver.platform.ServiceException: Could not find layer
>>>> drakensteinv2
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.parseLayers(GetMapKvpRequestReader.java:1180)
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:204)
>>>>      at
>>>>
>>>> org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:74)
>>>>      at
>>>> org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1230)
>>>>      at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:488)
>>>>      at
>>>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:231)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
>>>>      at
>>>>
>>>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
>>>>      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.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
>>>>      at
>>>>
>>>> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
>>>>      at
>>>>
>>>> org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
>>>>      at
>>>>
>>>> org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
>>>>      at
>>>>
>>>> org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
>>>>      at
>>>>
>>>> org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:47)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>      at
>>>>
>>>> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
>>>>      at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>      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.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:859)
>>>>      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)
>>>>
>>>> </ServiceException></ServiceExceptionReport>
>>>>
>>>>
>>>> [3]
>>>>
>>>> 2013-01-17 16:20:13,716 DEBUG [diskquota.LayerCacheInfoBuilder] -
>>>> Gathering cache information for
>>>> 'drakensteinv2'/EPSG:900913/paramId:default/zlevel:18
>>>> 2013-01-17 16:20:15,716 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
>>>> Committing TileSet[drakensteinv2#EPSG:900913#image/png]1200 aggregated
>>>> updates, 976 different pages, accum quota diff: 99.41 MB, created
>>>> 2003ms ago] to quota store due to too many pending commits
>>>> 2013-01-17 16:20:18,716 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
>>>> Committing TileSet[drakensteinv2#EPSG:900913#image/png]764 aggregated
>>>> updates, 686 different pages, accum quota diff: 57.9 MB, created
>>>> 2030ms ago] to quota store due to max wait time reached
>>>> 2013-01-17 16:20:19,651 DEBUG [diskquota.QueuedQuotaUpdatesConsumer] -
>>>> Committing TileSet[drakensteinv2#EPSG:900913#image/png]1197 aggregated
>>>> updates, 1000 different pages, accum quota diff: 94.73 MB, created
>>>> 811ms ago] to quota store due to too many pending commits
>>>>
>>>>
>>>> --
>>>> regards
>>>>
>>>> Gavin
>>>>
>>>> Gavin Fleming
>>>> http://afrispatial.co.za
>>>> t: 0218620670
>>>> c: 0845965680
>>>> f: 0866164820
>>>
>>>
>>>
>>> --
>>> regards
>>>
>>> Gavin
>>>
>>> Gavin Fleming
>>> http://afrispatial.co.za
>>> t: 0218620670
>>> c: 0845965680
>>> f: 0866164820
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>>> MVPs and experts. SALE $99.99 this month only -- learn more at:
>>> http://p.sf.net/sfu/learnmore_122912
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>
> --
> regards
>
> Gavin
>
> Gavin Fleming
> http://afrispatial.co.za
> t: 0218620670
> c: 0845965680
> f: 0866164820
>



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to