Jukka,

What I sent was this:
curl -v -u %login% -POST -H "Content-type: text/xml" -d
@collins_seed_cache.xml
http://localhost:8080/geoserver/gwc/rest/seed/30_topo:Collins_Gesamt

while the xml contains this:

<?xml version="1.0" encoding="UTF-8"?>
<seedRequest>
    <name>30_topo:Collins_Gesamt</name>
    <srs>
        <number>4326</number>
    </srs>
    <zoomStart>0</zoomStart>
    <zoomStop>7</zoomStop>
    <format>image/png8</format>
    <type>seed</type>
    <threadCount>2</threadCount>
</seedRequest>

Doing a demo is rather difficult because I work in a closed environment.
Cheers, Niko

2018-09-11 10:21 GMT+02:00 Rahkonen Jukka (MML) <
[email protected]>:

> Hi,
>
>
>
> Please show us exactly what you did like in the examples in
> http://docs.geoserver.org/stable/en/user/geowebcache/rest/seed.html. Even
> better if you can make your problem to appear with some of the demo layers
> because we do not have your data and layers.
>
>
>
> -Jukka Rahkonen-
>
>
>
> *Lähettäjä:* Nikolaus Pruzsinszky [mailto:[email protected]]
> *Lähetetty:* 11. syyskuuta 2018 11:04
> *Vastaanottaja:* geoserver-users <[email protected]>
> *Aihe:* [Geoserver-users] GWC seeding via rest - error
>
>
>
> Hi list,
>
> I am trying to seed tiles for a layer via rest and run into the following
> error mesage:
>
>
>
> Chunk [<?xml] is not a valid entry* Closing connection 0
>
>
>
> Below you can find the long version from the log.
>
>
>
> I am working on 2.13.1, running on tomcat 9.
>
> Searching for this error on the internet I found GEOS-8474 that describes
> my situation, but it refers to versions 2.12.2 and 2.13.beta and it's
> status is resolved?
>
>
>
> Cheers, Niko
>
>
>
>
>
> 2018-09-11 09:48:19,258 ERROR [geoserver.rest] - Chunk [<?xml] is not a
> valid entry
> java.lang.IllegalArgumentException: Chunk [<?xml] is not a valid entry
>     at com.google.common.base.Preconditions.checkArgument(
> Preconditions.java:148)
>     at com.google.common.base.Splitter$MapSplitter.split(
> Splitter.java:508)
>     at org.geowebcache.rest.controller.SeedController.
> splitToMap(SeedController.java:154)
>     at org.geowebcache.rest.controller.SeedController.
> doPost(SeedController.java:133)
>     at sun.reflect.GeneratedMethodAccessor1069.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at org.springframework.web.method.support.InvocableHandlerMethod.
> doInvoke(InvocableHandlerMethod.java:205)
>     at org.springframework.web.method.support.InvocableHandlerMethod.
> invokeForRequest(InvocableHandlerMethod.java:133)
>     at org.springframework.web.servlet.mvc.method.annotation.
> ServletInvocableHandlerMethod.invokeAndHandle(
> ServletInvocableHandlerMethod.java:116)
>     at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.invokeHandlerMethod(
> RequestMappingHandlerAdapter.java:827)
>     at org.springframework.web.servlet.mvc.method.annotation.
> RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.
> java:738)
>     at org.springframework.web.servlet.mvc.method.
> AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
>     at org.springframework.web.servlet.DispatcherServlet.
> doDispatch(DispatcherServlet.java:963)
>     at org.springframework.web.servlet.DispatcherServlet.
> doService(DispatcherServlet.java:897)
>     at org.springframework.web.servlet.FrameworkServlet.processRequest(
> FrameworkServlet.java:970)
>     at org.springframework.web.servlet.FrameworkServlet.
> doPost(FrameworkServlet.java:872)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
>     at org.springframework.web.servlet.FrameworkServlet.
> service(FrameworkServlet.java:846)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:231)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(
> WsFilter.java:53)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(
> ThreadLocalsCleanupFilter.java:28)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
> SpringDelegatingFilter.java:75)
>     at org.geoserver.wms.animate.AnimatorFilter.doFilter(
> AnimatorFilter.java:71)
>     at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
> SpringDelegatingFilter.java:71)
>     at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(
> IpBlacklistFilter.java:94)
>     at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
> SpringDelegatingFilter.java:71)
>     at org.geoserver.flow.ControlFlowCallback.doFilter(
> ControlFlowCallback.java:248)
>     at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(
> SpringDelegatingFilter.java:71)
>     at org.geoserver.filters.SpringDelegatingFilter.doFilter(
> SpringDelegatingFilter.java:46)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.platform.AdvancedDispatchFilter.doFilter(
> AdvancedDispatchFilter.java:50)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:316)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>     at org.springframework.security.web.access.intercept.
> FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
>     at org.springframework.security.web.access.intercept.
> FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>     at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
> GeoServerCompositeFilter.java:92)
>     at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>     at org.springframework.security.web.access.ExceptionTranslationFilter.
> doFilter(ExceptionTranslationFilter.java:114)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>     at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
> GeoServerCompositeFilter.java:92)
>     at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>     at org.springframework.security.web.authentication.www.
> BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.
> java:213)
>     at org.springframework.web.filter.OncePerRequestFilter.
> doFilter(OncePerRequestFilter.java:107)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>     at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
> GeoServerCompositeFilter.java:92)
>     at org.geoserver.security.filter.GeoServerBasicAuthenticationFi
> lter.doFilter(GeoServerBasicAuthenticationFilter.java:84)
>     at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
>     at org.springframework.security.web.context.
> SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilt
> er.java:91)
>     at org.geoserver.security.filter.GeoServerSecurityContextPersis
> tenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>     at org.geoserver.security.filter.GeoServerCompositeFilter$
> NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
>     at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(
> GeoServerCompositeFilter.java:92)
>     at org.springframework.security.web.FilterChainProxy$
> VirtualFilterChain.doFilter(FilterChainProxy.java:330)
>     at org.springframework.security.web.FilterChainProxy.doFilterInternal(
> FilterChainProxy.java:213)
>     at org.springframework.security.web.FilterChainProxy.doFilter(
> FilterChainProxy.java:176)
>     at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(
> GeoServerSecurityFilterChainProxy.java:152)
>     at org.springframework.web.filter.DelegatingFilterProxy.
> invokeDelegate(DelegatingFilterProxy.java:346)
>     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(
> DelegatingFilterProxy.java:262)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:88)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.XFrameOptionsFilter.doFilter(
> XFrameOptionsFilter.java:89)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.SessionDebugFilter.doFilter(
> SessionDebugFilter.java:48)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.geoserver.filters.FlushSafeFilter.doFilter(
> FlushSafeFilter.java:44)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.springframework.web.filter.CharacterEncodingFilter.
> doFilterInternal(CharacterEncodingFilter.java:197)
>     at org.springframework.web.filter.OncePerRequestFilter.
> doFilter(OncePerRequestFilter.java:107)
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:193)
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:166)
>     at org.apache.catalina.core.StandardWrapperValve.invoke(
> StandardWrapperValve.java:199)
>     at org.apache.catalina.core.StandardContextValve.invoke(
> StandardContextValve.java:96)
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
> AuthenticatorBase.java:494)
>     at org.apache.catalina.core.StandardHostValve.invoke(
> StandardHostValve.java:139)
>     at org.apache.catalina.valves.ErrorReportValve.invoke(
> ErrorReportValve.java:92)
>     at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
> AbstractAccessLogValve.java:651)
>     at org.apache.catalina.core.StandardEngineValve.invoke(
> StandardEngineValve.java:87)
>     at org.apache.catalina.connector.CoyoteAdapter.service(
> CoyoteAdapter.java:343)
>     at org.apache.coyote.http11.Http11Processor.service(
> Http11Processor.java:412)
>     at org.apache.coyote.AbstractProcessorLight.process(
> AbstractProcessorLight.java:66)
>     at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
> AbstractProtocol.java:754)
>     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
> doRun(NioEndpoint.java:1385)
>     at org.apache.tomcat.util.net.SocketProcessorBase.run(
> SocketProcessorBase.java:49)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(
> TaskThread.java:61)
>     at java.lang.Thread.run(Unknown Source)
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to