Dear List,
 I'm trying to use extensively isolated workspace and I've found a possible
issue which I'm going to share with you before we open a ticket if needed:
Steps to reproduce:
Use geoserver 2.17.0
create an isolated workspace
add a jndi store
load a layer (I'm using gadm level0)
install VectorTyle extension
enable the vector tyle 'format' over that layer

I'm not able to see the:
---
https://xxxxxxxxxx/xxxxx/gwc/service/tms/1.0.0
<https://data.review.fao.org/map/gsrv/gwc/service/tms/1.0.0>
trying to retrieve that or other requests I got errors like:
DEBUG [util.ResponseUtils] - Could not locate a layer or layer group with
id LayerInfoImpl-3bba14cf:1711882e14e:-11bb within GeoServer configuration,
the GWC configuration seems to be out of synch
2020-04-29 16:37:14,813 ERROR [geowebcache.GeoWebCacheDispatcher] - Request
failed
java.lang.IllegalStateException: Could not locate a layer or layer group
with id LayerInfoImpl-3bba14cf:1711882e14e:-11bb within GeoServer
configuration, the GWC configuration seems to be out of synch
        at
org.geoserver.gwc.layer.GeoServerTileLayer.lambda$getPublishedInfo$0(GeoServerTileLayer.java:396)
        at
java.base/java.util.concurrent.atomic.AtomicReference.accumulateAndGet(AtomicReference.java:263)
        at
org.geoserver.gwc.layer.GeoServerTileLayer.getPublishedInfo(GeoServerTileLayer.java:386)
        at
org.geoserver.gwc.layer.GeoServerTileLayer.isEnabled(GeoServerTileLayer.java:307)
        at
org.geowebcache.service.tms.TMSDocumentFactory.getTileMapServiceDoc(TMSDocumentFactory.java:138)
        at
org.geowebcache.service.tms.TMSService.handleRequest(TMSService.java:251)
        at
org.geowebcache.service.tms.TMSService$$FastClassBySpringCGLIB$$34b3521.invoke(<generated>)
        at
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:750)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at
org.geoserver.gwc.config.GWCServiceEnablementInterceptor.invoke(GWCServiceEnablementInterceptor.java:58)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689)
        at
org.geowebcache.service.tms.TMSService$$EnhancerBySpringCGLIB$$136fc4fa.handleRequest(<generated>)
        at
org.geowebcache.GeoWebCacheDispatcher.handleServiceRequest(GeoWebCacheDispatcher.java:406)
        at
org.geowebcache.GeoWebCacheDispatcher.handleRequestInternal(GeoWebCacheDispatcher.java:268)
        at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
        at
org.geoserver.gwc.dispatch.GwcServiceProxy.dispatch(GwcServiceProxy.java:80)
        at jdk.internal.reflect.GeneratedMethodAccessor853.invoke(Unknown
Source)
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
...

Note that I've also deleted that file multiple times recreating it with the
UI with no success.

It started working once workspace isolation has been disabled.

Could you confirm? May I need to open a ticket?

Thanks
C.


--
Mr. Carlo Cancellieri
*skype*: ccancellieri
*Twitter*: @cancellieric
*LinkedIn*: http://it.linkedin.com/in/ccancellieri/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to