[Geoserver-users] Help : Geoserver publish shapefile -> Schema does not exist

Hello everyone,

I have the following problem in geoserver 2.7.1.

I'm posting two shapefiles already located in geoserver.
I use curl to performed the publish operation. I followed it to the documentation:

http://docs.geoserver.org/2.7.0/user/rest/examples/curl.html#adding-an-existing-shapefile

The problem is:

The first shapefiles passes properly, a store + layer is created.
The second shapefiles looks correct (the layer is created), but when I wish previsualize, I catch the following error message:

<ServiceExceptionReport version="1.1.1"><ServiceException>
      java.lang.RuntimeException: Error getting FeatureType, this should never happen!
Error getting FeatureType, this should never happen!
Schema 'MuNeighbour' does not exist.
</ServiceException></ServiceExceptionReport>

In geoserver logs :

Error while getting feature type, flushing cache and retrying: Schema 'MuNeighbour' does not exist.
28 Sep 09:46:36 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema 'MuNeighbour' does not exist.
java.lang.RuntimeException: Error getting FeatureType, this should never happen!

I don't understant what's happening.

Does someone already had the same problem?
Is there a fix?

I thank you in advance

Nicolas

[/uploads/default/original/2X/5/522e2e77acad9e9e76e5adb8e000a1109bd48936.png]

Nicolas GILLARD
Analyst Programmer
Projects - IS
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels<http://cirb.brussels> - disclaimer<http:/cirb.brussels/disclaimer-1>
T +32 2 600 43 13 | G +32 479 57 92 04 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen ! [/uploads/default/original/2X/4/4150cdfd6df3de09857f07b311579aaca6f60c4c.png] <http://www.linkedin.com/company/cirb_cibg&gt; [/uploads/default/original/2X/f/ff34d9710e85ffbae4215766f91cb3c8a61e3dbf.png] <https://twitter.com/CIRB_CIBG&gt; [/uploads/default/original/2X/7/7bfa6843c6ace4608a73f6a4926d5d56d793adf8.png] <http://www.environnement.brussels/thematiques/ville-durable/le-label-entreprise-ecodynamique&gt;

A noter ! L'adresse email de votre correspondant CIRB a changé pour devenir @cirb.brussels.

Opgelet! Het e-mailadres van uw CIBG-contact is veranderd en eindigt voortaan op @cibg.brussels.

On Mon, Sep 28, 2015 at 10:22 AM, GILLARD Nicolas <ngillard@anonymised.com>
wrote:

<ServiceExceptionReport version="1.1.1"><ServiceException>
      java.lang.RuntimeException: Error getting FeatureType, this should
never happen!
Error getting FeatureType, this should never happen!
Schema 'MuNeighbour' does not exist.
</ServiceException></ServiceExceptionReport>

In geoserver logs :

Error while getting feature type, flushing cache and retrying: Schema
'MuNeighbour' does not exist.
28 Sep 09:46:36 WARN [geoserver.catalog] - Unable to flush '
http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema 'MuNeighbour' does not exist.
java.lang.RuntimeException: Error getting FeatureType, this should never
happen!

Do you have a full stack trace? I don't have enough information to help
with the above

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

-------------------------------------------------------

Hi Andrea,

Log when I publish the first layer : ------------------------------------------------------------------------------------------------------------------------------------------------------

28 Sep 10:47:16 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8
28 Sep 10:47:16 INFO [catalog.rest] - Auto-configuring datastore: ShpDirUrbis
28 Sep 10:47:20 INFO [catalog.rest] - Added feature type MuNeighbour
28 Sep 10:47:21 INFO [catalog.rest] - PUT layer MuNeighbour
28 Sep 10:47:21 INFO [org.geoserver] - Loaded feature type 'null', enabled
28 Sep 10:47:21 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:21 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:21 INFO [catalog.rest] - PUT FeatureTypeShpDirUrbis,MuNeighbour updated metadata only
28 Sep 10:47:21 ERROR [jdbcconfig.config] - Problem while reinitializing Logging from JDBC Config. Log configuration may not be correct.
java.lang.NullPointerException
        at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.reinitializeLogging(JDBCGeoServerFacade.java:99)
        at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.setGeoServer(JDBCGeoServerFacade.java:132)
        at org.geoserver.config.impl.GeoServerImpl.setFacade(GeoServerImpl.java:71)
        at org.geoserver.jdbcconfig.JDBCGeoServerLoader.loadGeoServer(JDBCGeoServerLoader.java:102)
        at org.geoserver.config.GeoServerLoader.reload(GeoServerLoader.java:208)
        at org.geoserver.jdbcconfig.JDBCGeoServerLoader.reload(JDBCGeoServerLoader.java:143)
        at org.geoserver.config.GeoServerLoaderProxy.reload(GeoServerLoaderProxy.java:66)
        at org.geoserver.config.impl.GeoServerImpl.reload(GeoServerImpl.java:452)
        at org.geoserver.catalog.rest.CatalogReloader.reloadCatalog(CatalogReloader.java:76)
        at org.geoserver.catalog.rest.CatalogReloader$1.handlePost(CatalogReloader.java:56)
        at org.restlet.Finder.handle(Finder.java:296)
        at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
        at org.restlet.Filter.doHandle(Filter.java:105)
        at org.restlet.Filter.handle(Filter.java:134)
        at org.restlet.Router.handle(Router.java:444)

...

28 Sep 10:47:21 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer's Catalog
28 Sep 10:47:21 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - GWC configuration based on GeoServer's Catalog loaded successfuly
28 Sep 10:47:23 INFO [gwc.layer] - Truncating default style for layer Urbis:MuNeighbour, as it changed from polygon to UrbisMuNeighbourZoomAttrLblNAMEFRPolygon0.4
28 Sep 10:47:23 INFO [geoserver.gwc] - Saving GeoSeverTileLayer Urbis:MuNeighbour
28 Sep 10:47:23 INFO [catalog.rest] - PUT layer MuNeighbour

The second one : ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

28 Sep 10:47:24 INFO [catalog.rest] - PUT style UrbisHighwaysZoomLineSized
28 Sep 10:47:26 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8
28 Sep 10:47:26 INFO [catalog.rest] - Using existing datastore: ShpDirUrbis
28 Sep 10:47:30 INFO [catalog.rest] - Added feature type Highways
28 Sep 10:47:31 INFO [catalog.rest] - PUT layer Highways
28 Sep 10:47:31 INFO [org.geoserver] - Loaded feature type 'null', enabled
28 Sep 10:47:31 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:31 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:31 INFO [catalog.rest] - PUT FeatureTypeShpDirUrbis,Highways updated metadata only
28 Sep 10:47:31 ERROR [jdbcconfig.config] - Problem while reinitializing Logging from JDBC Config. Log configuration may not be correct.
java.lang.NullPointerException
        at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.reinitializeLogging(JDBCGeoServerFacade.java:99)
        at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.setGeoServer(JDBCGeoServerFacade.java:132)
        at org.geoserver.config.impl.GeoServerImpl.setFacade(GeoServerImpl.java:71)
        at org.geoserver.jdbcconfig.JDBCGeoServerLoader.loadGeoServer(JDBCGeoServerLoader.java:102)
        at org.geoserver.config.GeoServerLoader.reload(GeoServerLoader.java:208)
        at org.geoserver.jdbcconfig.JDBCGeoServerLoader.reload(JDBCGeoServerLoader.java:143)
        at org.geoserver.config.GeoServerLoaderProxy.reload(GeoServerLoaderProxy.java:66)
        at org.geoserver.config.impl.GeoServerImpl.reload(GeoServerImpl.java:452)
        at org.geoserver.catalog.rest.CatalogReloader.reloadCatalog(CatalogReloader.java:76)
        at org.geoserver.catalog.rest.CatalogReloader$1.handlePost(CatalogReloader.java:56)
        at org.restlet.Finder.handle(Finder.java:296)
        at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
        at org.restlet.Filter.doHandle(Filter.java:105)
        at org.restlet.Filter.handle(Filter.java:134)
        at org.restlet.Router.handle(Router.java:444)
...

28 Sep 10:47:31 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer's Catalog
28 Sep 10:47:31 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - GWC configuration based on GeoServer's Catalog loaded successfuly
28 Sep 10:47:52 INFO [gwc.layer] - Truncating default style for layer Urbis:Highways, as it changed from line to UrbisHighwaysZoomLineSized
28 Sep 10:47:52 INFO [geoserver.gwc] - Saving GeoSeverTileLayer Urbis:Highways
28 Sep 10:47:52 INFO [catalog.rest] - PUT layer Highways

Log when I want to previsualize the layer MuNeightbour ( the first one ) : ----------------------------------------------------------------------------------------------------------------------------------

Error while getting feature type, flushing cache and retrying: Schema 'MuNeighbour' does not exist.
28 Sep 10:55:07 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema 'MuNeighbour' does not exist.
    at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
    at org.geoserver.catalog.ResourcePool.flushState(ResourcePool.java:2335)
    at org.geoserver.catalog.ResourcePool.flushDataStore(ResourcePool.java:2309)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:872)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
    at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
    at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
    at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
    at org.geoserver.web.CatalogIconFactory.getSpecificLayerIcon(CatalogIconFactory.java:120)
    at org.geoserver.web.demo.PreviewLayer.getIcon(PreviewLayer.java:76)
    at org.geoserver.web.demo.MapPreviewPage$1.getComponentForProperty(MapPreviewPage.java:76)
    at org.geoserver.web.wicket.GeoServerTablePanel$4.populateItem(GeoServerTablePanel.java:211)
    at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:562)
    at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
    at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
    at org.apache.wicket.Component.beforeRender(Component.java:1105)
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
    at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
    at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
    at org.apache.wicket.Component.beforeRender(Component.java:1105)
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
    at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
    at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:151)
    at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
    at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
    at org.apache.wicket.Component.beforeRender(Component.java:1105)
    at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
    at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
    at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
    at org.apache.wicket.Component.beforeRender(Component.java:1105)
    at org.apache.wicket.Component.prepareForRender(Component.java:2292)
    at org.apache.wicket.Component.prepareForRender(Component.java:2329)
    at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
    at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
    at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
    at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
    at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
    at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
    at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
    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:923)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    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:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
    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:323)
    at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
    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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
    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:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
    at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
28 Sep 10:55:08 INFO [geoserver.wms] -
Request: getServiceInfo
28 Sep 10:55:08 WARN [geoserver.catalog] - Error while getting feature type, flushing cache and retrying: Schema 'MuNeighbour' does not exist.
28 Sep 10:55:08 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema 'MuNeighbour' does not exist.
    at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
    at org.geoserver.catalog.ResourcePool.flushState(ResourcePool.java:2335)
    at org.geoserver.catalog.ResourcePool.flushDataStore(ResourcePool.java:2309)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:872)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
    at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
    at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
    at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
    at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1188)
    at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:422)
    at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:83)
    at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1487)
    at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:675)
    at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)
    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:923)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    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:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
    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:323)
    at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
    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.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
    at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
28 Sep 10:55:08 ERROR [geoserver.ows] -
java.lang.RuntimeException: Error getting FeatureType, this should never happen!
    at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1192)
    at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:422)
    at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:83)
    at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1487)
    at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:675)
    at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)
    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:923)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
    at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
    at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
    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:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
    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:323)
    at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
    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.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
    at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
    at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
    at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
    at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
    at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
    at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
    at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Schema 'MuNeighbour' does not exist.
    at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
    at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
    at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:338)
    at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:712)
    at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:103)
    at org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:898)
    at org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:879)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:873)
    at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
    at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
    at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
    at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
    at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1188)

Sorry for the message size.

Best regards,

Nicolas

[/uploads/default/original/2X/5/522e2e77acad9e9e76e5adb8e000a1109bd48936.png]

Nicolas GILLARD
Analyst Programmer
Projects - IS
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels<http://cirb.brussels> - disclaimer<http:/cirb.brussels/disclaimer-1>
T +32 2 600 43 13 | G +32 479 57 92 04 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen ! [/uploads/default/original/2X/4/4150cdfd6df3de09857f07b311579aaca6f60c4c.png] <http://www.linkedin.com/company/cirb_cibg&gt; [/uploads/default/original/2X/f/ff34d9710e85ffbae4215766f91cb3c8a61e3dbf.png] <https://twitter.com/CIRB_CIBG&gt; [/uploads/default/original/2X/7/7bfa6843c6ace4608a73f6a4926d5d56d793adf8.png] <http://www.environnement.brussels/thematiques/ville-durable/le-label-entreprise-ecodynamique&gt;

A noter ! L'adresse email de votre correspondant CIRB a changé pour devenir @cirb.brussels.

Opgelet! Het e-mailadres van uw CIBG-contact is veranderd en eindigt voortaan op @cibg.brussels.

________________________________
De : andrea.aime@anonymised.com [andrea.aime@anonymised.com] de la part de Andrea Aime [andrea.aime@anonymised.com]
Envoyé : lundi 28 septembre 2015 10:37
À : GILLARD Nicolas
Cc : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Help : Geoserver publish shapefile -> Schema does not exist

On Mon, Sep 28, 2015 at 10:22 AM, GILLARD Nicolas <ngillard@anonymised.com<mailto:ngillard@anonymised.com>> wrote:
<ServiceExceptionReport version="1.1.1"><ServiceException>
      java.lang.RuntimeException: Error getting FeatureType, this should never happen!
Error getting FeatureType, this should never happen!
Schema 'MuNeighbour' does not exist.
</ServiceException></ServiceExceptionReport>

In geoserver logs :

Error while getting feature type, flushing cache and retrying: Schema 'MuNeighbour' does not exist.
28 Sep 09:46:36 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema 'MuNeighbour' does not exist.
java.lang.RuntimeException: Error getting FeatureType, this should never happen!

Do you have a full stack trace? I don't have enough information to help with the above

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

-------------------------------------------------------

Hi Nicolas,

···

On Mon, Sep 28, 2015 at 10:59 AM, GILLARD Nicolas <ngillard@anonymised.com…7270…> wrote:

28 Sep 10:47:16 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8

Hum… you’re uploading a shapefile, right? So this content-type doesn’t look good: you should zip the .shp, .shx, .dbf and .prj files and upload the zip archive setting the header “Content-Type: application/zip”

Could you post also the cURL command you’re running?

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
[http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Hi Stefano,
Indeed, i'm uploading a shapefile.

But in geoserver documentation, this is the example based on shapefile : http://docs.geoserver.org/2.7.0/user/rest/examples/curl.html#adding-an-existing-shapefile

curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain"
  -d "file:///data/shapefiles/rivers/rivers.shp"
  http://localhost:8080/geoserver/rest/workspaces/acme/datastores/rivers/external.shp

I'd rather not have to zip the files

This is my curl call in python:

ITERATION :
            url = geoserverDestination.service_url+"/workspaces/"+workspace.name+"/datastores/"+storeName+"/external.shp"
            data = "file://"+shapefilesPath+".shp"#
            curl = c = pycurl.Curl()
            curl.setopt(pycurl.URL, url)
            data = "%s" % data
            curl.setopt(pycurl.CUSTOMREQUEST, "PUT")
            curl.setopt(pycurl.POSTFIELDS, data)
            curl.setopt(pycurl.HTTPHEADER, ["Content-type: text/plain; charset=UTF-8"])
            curl.setopt(pycurl.VERBOSE, 0)
            curl.setopt(pycurl.USERPWD, environment['userDestination']+':'+environment['passwordDestination'])GeoServer credential
            try:
                curl.perform()
            except pycurl.error, error:
                errno, errstr = error
                print 'An error occurred: ', errstr

Best regards,

Nicolas
[/uploads/default/original/2X/5/522e2e77acad9e9e76e5adb8e000a1109bd48936.png]

Nicolas GILLARD
Analyst Programmer
Projects - IS
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels<http://cirb.brussels> - disclaimer<http:/cirb.brussels/disclaimer-1>
T +32 2 600 43 13 | G +32 479 57 92 04 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen ! [/uploads/default/original/2X/4/4150cdfd6df3de09857f07b311579aaca6f60c4c.png] <http://www.linkedin.com/company/cirb_cibg&gt; [/uploads/default/original/2X/f/ff34d9710e85ffbae4215766f91cb3c8a61e3dbf.png] <https://twitter.com/CIRB_CIBG&gt; [/uploads/default/original/2X/7/7bfa6843c6ace4608a73f6a4926d5d56d793adf8.png] <http://www.environnement.brussels/thematiques/ville-durable/le-label-entreprise-ecodynamique&gt;

A noter ! L'adresse email de votre correspondant CIRB a changé pour devenir @cirb.brussels.

Opgelet! Het e-mailadres van uw CIBG-contact is veranderd en eindigt voortaan op @cibg.brussels.

________________________________
De : Stefano Costa [stefano.costa@anonymised.com]
Envoyé : lundi 28 septembre 2015 11:24
À : GILLARD Nicolas
Cc : Andrea Aime; geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Help : Geoserver publish shapefile -> Schema does not exist

Hi Nicolas,

On Mon, Sep 28, 2015 at 10:59 AM, GILLARD Nicolas <ngillard@anonymised.com<mailto:ngillard@anonymised.com>> wrote:
28 Sep 10:47:16 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8

Hum... you're uploading a shapefile, right? So this content-type doesn't look good: you should zip the .shp, .shx, .dbf and .prj files and upload the zip archive setting the header "Content-Type: application/zip"

Could you post also the cURL command you're running?

--

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Hi Nicolas,
I see you are using the JDBCConfig module, which is not officially supported by the GeoServer community (it’s a community module,
which means it has not yet reached the desired quality level and/or has no one stepping up to be its maintainer).

Wondering if you could reproduce the same issue with a normal GeoServer without JDBCConfig?
It would help a lot checking if the issue is in the core GeoServer, or in JDBCConfig itself

Cheers
Andrea

ln6b174c.png

ecodyna2ca1e.png

tw04702a.png

cirbf7bd3c.png

···

On Mon, Sep 28, 2015 at 10:59 AM, GILLARD Nicolas <ngillard@anonymised.com> wrote:

Hi Andrea,

Log when I publish the first layer : ------------------------------------------------------------------------------------------------------------------------------------------------------

28 Sep 10:47:16 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8
28 Sep 10:47:16 INFO [catalog.rest] - Auto-configuring datastore: ShpDirUrbis
28 Sep 10:47:20 INFO [catalog.rest] - Added feature type MuNeighbour
28 Sep 10:47:21 INFO [catalog.rest] - PUT layer MuNeighbour
28 Sep 10:47:21 INFO [org.geoserver] - Loaded feature type ‘null’, enabled
28 Sep 10:47:21 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:21 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:21 INFO [catalog.rest] - PUT FeatureTypeShpDirUrbis,MuNeighbour updated metadata only
28 Sep 10:47:21 ERROR [jdbcconfig.config] - Problem while reinitializing Logging from JDBC Config. Log configuration may not be correct.
java.lang.NullPointerException
at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.reinitializeLogging(JDBCGeoServerFacade.java:99)
at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.setGeoServer(JDBCGeoServerFacade.java:132)
at org.geoserver.config.impl.GeoServerImpl.setFacade(GeoServerImpl.java:71)
at org.geoserver.jdbcconfig.JDBCGeoServerLoader.loadGeoServer(JDBCGeoServerLoader.java:102)
at org.geoserver.config.GeoServerLoader.reload(GeoServerLoader.java:208)
at org.geoserver.jdbcconfig.JDBCGeoServerLoader.reload(JDBCGeoServerLoader.java:143)
at org.geoserver.config.GeoServerLoaderProxy.reload(GeoServerLoaderProxy.java:66)
at org.geoserver.config.impl.GeoServerImpl.reload(GeoServerImpl.java:452)
at org.geoserver.catalog.rest.CatalogReloader.reloadCatalog(CatalogReloader.java:76)
at org.geoserver.catalog.rest.CatalogReloader$1.handlePost(CatalogReloader.java:56)
at org.restlet.Finder.handle(Finder.java:296)
at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
at org.restlet.Filter.doHandle(Filter.java:105)
at org.restlet.Filter.handle(Filter.java:134)
at org.restlet.Router.handle(Router.java:444)

28 Sep 10:47:21 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer’s Catalog
28 Sep 10:47:21 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:21 INFO [gwc.layer] - GWC configuration based on GeoServer’s Catalog loaded successfuly
28 Sep 10:47:23 INFO [gwc.layer] - Truncating default style for layer Urbis:MuNeighbour, as it changed from polygon to UrbisMuNeighbourZoomAttrLblNAMEFRPolygon0.4
28 Sep 10:47:23 INFO [geoserver.gwc] - Saving GeoSeverTileLayer Urbis:MuNeighbour
28 Sep 10:47:23 INFO [catalog.rest] - PUT layer MuNeighbour

The second one : ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

28 Sep 10:47:24 INFO [catalog.rest] - PUT style UrbisHighwaysZoomLineSized
28 Sep 10:47:26 INFO [catalog.rest] - PUT file, mimetype: text/plain; charset=UTF-8
28 Sep 10:47:26 INFO [catalog.rest] - Using existing datastore: ShpDirUrbis
28 Sep 10:47:30 INFO [catalog.rest] - Added feature type Highways
28 Sep 10:47:31 INFO [catalog.rest] - PUT layer Highways
28 Sep 10:47:31 INFO [org.geoserver] - Loaded feature type ‘null’, enabled
28 Sep 10:47:31 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:31 WARN [catalog.impl] - Failed to load actual store for FeatureTypeInfoImpl[null]
28 Sep 10:47:31 INFO [catalog.rest] - PUT FeatureTypeShpDirUrbis,Highways updated metadata only
28 Sep 10:47:31 ERROR [jdbcconfig.config] - Problem while reinitializing Logging from JDBC Config. Log configuration may not be correct.
java.lang.NullPointerException
at sun.reflect.GeneratedMethodAccessor328.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.reinitializeLogging(JDBCGeoServerFacade.java:99)
at org.geoserver.jdbcconfig.config.JDBCGeoServerFacade.setGeoServer(JDBCGeoServerFacade.java:132)
at org.geoserver.config.impl.GeoServerImpl.setFacade(GeoServerImpl.java:71)
at org.geoserver.jdbcconfig.JDBCGeoServerLoader.loadGeoServer(JDBCGeoServerLoader.java:102)
at org.geoserver.config.GeoServerLoader.reload(GeoServerLoader.java:208)
at org.geoserver.jdbcconfig.JDBCGeoServerLoader.reload(JDBCGeoServerLoader.java:143)
at org.geoserver.config.GeoServerLoaderProxy.reload(GeoServerLoaderProxy.java:66)
at org.geoserver.config.impl.GeoServerImpl.reload(GeoServerImpl.java:452)
at org.geoserver.catalog.rest.CatalogReloader.reloadCatalog(CatalogReloader.java:76)
at org.geoserver.catalog.rest.CatalogReloader$1.handlePost(CatalogReloader.java:56)
at org.restlet.Finder.handle(Finder.java:296)
at org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
at org.restlet.Filter.doHandle(Filter.java:105)
at org.restlet.Filter.handle(Filter.java:134)
at org.restlet.Router.handle(Router.java:444)

28 Sep 10:47:31 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Initializing GWC configuration based on GeoServer’s Catalog
28 Sep 10:47:31 INFO [gwc.layer] - GeoServer TileLayer store base directory is: /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - Loading tile layers from /srv/data/geoserver/gwc-layers
28 Sep 10:47:31 INFO [gwc.layer] - GWC configuration based on GeoServer’s Catalog loaded successfuly
28 Sep 10:47:52 INFO [gwc.layer] - Truncating default style for layer Urbis:Highways, as it changed from line to UrbisHighwaysZoomLineSized
28 Sep 10:47:52 INFO [geoserver.gwc] - Saving GeoSeverTileLayer Urbis:Highways
28 Sep 10:47:52 INFO [catalog.rest] - PUT layer Highways

Log when I want to previsualize the layer MuNeightbour ( the first one ) : ----------------------------------------------------------------------------------------------------------------------------------

Error while getting feature type, flushing cache and retrying: Schema ‘MuNeighbour’ does not exist.
28 Sep 10:55:07 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema ‘MuNeighbour’ does not exist.
at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
at org.geoserver.catalog.ResourcePool.flushState(ResourcePool.java:2335)
at org.geoserver.catalog.ResourcePool.flushDataStore(ResourcePool.java:2309)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:872)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
at org.geoserver.web.CatalogIconFactory.getSpecificLayerIcon(CatalogIconFactory.java:120)
at org.geoserver.web.demo.PreviewLayer.getIcon(PreviewLayer.java:76)
at org.geoserver.web.demo.MapPreviewPage$1.getComponentForProperty(MapPreviewPage.java:76)
at org.geoserver.web.wicket.GeoServerTablePanel$4.populateItem(GeoServerTablePanel.java:211)
at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:562)
at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:131)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:151)
at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:121)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1753)
at org.apache.wicket.Component.onBeforeRender(Component.java:3946)
at org.apache.wicket.Component.internalBeforeRender(Component.java:1071)
at org.apache.wicket.Component.beforeRender(Component.java:1105)
at org.apache.wicket.Component.prepareForRender(Component.java:2292)
at org.apache.wicket.Component.prepareForRender(Component.java:2329)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:830)
at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:682)
at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:592)
at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
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:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
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:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
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.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
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:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
28 Sep 10:55:08 INFO [geoserver.wms] -
Request: getServiceInfo
28 Sep 10:55:08 WARN [geoserver.catalog] - Error while getting feature type, flushing cache and retrying: Schema ‘MuNeighbour’ does not exist.
28 Sep 10:55:08 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema ‘MuNeighbour’ does not exist.
at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
at org.geoserver.catalog.ResourcePool.flushState(ResourcePool.java:2335)
at org.geoserver.catalog.ResourcePool.flushDataStore(ResourcePool.java:2309)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:872)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1188)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:422)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:83)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1487)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:675)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
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:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
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:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
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.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
28 Sep 10:55:08 ERROR [geoserver.ows] -
java.lang.RuntimeException: Error getting FeatureType, this should never happen!
at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1192)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:422)
at org.geoserver.wms.map.GetMapKvpRequestReader.read(GetMapKvpRequestReader.java:83)
at org.geoserver.ows.Dispatcher.parseRequestKVP(Dispatcher.java:1487)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:675)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:270)
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:923)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
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.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
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:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
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:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
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.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$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:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Schema ‘MuNeighbour’ does not exist.
at org.geotools.data.store.ContentDataStore.ensureEntry(ContentDataStore.java:620)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:387)
at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:354)
at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:338)
at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:712)
at org.geotools.data.store.ContentDataStore.getSchema(ContentDataStore.java:103)
at org.geoserver.catalog.ResourcePool.getCacheableFeatureType(ResourcePool.java:898)
at org.geoserver.catalog.ResourcePool.tryGetFeatureType(ResourcePool.java:879)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:873)
at org.geoserver.catalog.ResourcePool.getFeatureType(ResourcePool.java:860)
at org.geoserver.catalog.impl.FeatureTypeInfoImpl.getFeatureType(FeatureTypeInfoImpl.java:109)
at sun.reflect.GeneratedMethodAccessor145.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)
at com.sun.proxy.$Proxy71.getFeatureType(Unknown Source)
at org.geoserver.wms.map.GetMapKvpRequestReader.checkStyle(GetMapKvpRequestReader.java:1188)

Sorry for the message size.

Best regards,

Nicolas

| |

Nicolas GILLARD
Analyst Programmer
Projects - IS
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels - disclaimer
T +32 2 600 43 13 | G +32 479 57 92 04 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen !

|
| - | - |

A noter ! L’adresse email de votre correspondant CIRB a changé pour devenir @cirb.brussels.

Opgelet! Het e-mailadres van uw CIBG-contact is veranderd en eindigt voortaan op @cibg.brussels.


De : andrea.aime@anonymised.com [andrea.aime@anonymised.com] de la part de Andrea Aime [andrea.aime@anonymised.com]
Envoyé : lundi 28 septembre 2015 10:37
À : GILLARD Nicolas
Cc : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Help : Geoserver publish shapefile → Schema does not exist

On Mon, Sep 28, 2015 at 10:22 AM, GILLARD Nicolas <ngillard@anonymised.com70…> wrote:


java.lang.RuntimeException: Error getting FeatureType, this should never happen!
Error getting FeatureType, this should never happen!
Schema ‘MuNeighbour’ does not exist.

In geoserver logs :

Error while getting feature type, flushing cache and retrying: Schema ‘MuNeighbour’ does not exist.
28 Sep 09:46:36 WARN [geoserver.catalog] - Unable to flush 'http://www.cirb.brussels/urbis:MuNeighbour
java.io.IOException: Schema ‘MuNeighbour’ does not exist.
java.lang.RuntimeException: Error getting FeatureType, this should never happen!

Do you have a full stack trace? I don’t have enough information to help with the above

Cheers
Andrea

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi Nicolas,
right, you’re uploading an existing shapefile… I thought you were uploading it in the request body (I seem to have issues accessing GeoServer’s online docs this morning and I couldn’t open your link).

Your code looks correct (as far as I can understand): are you using the absolute path to the shapefile in your request?

If the answer is yes, I’d do what Andrea suggested and try without the JDBCConfig module.

···

On Mon, Sep 28, 2015 at 11:34 AM, GILLARD Nicolas <ngillard@anonymised.com> wrote:

Hi Stefano,
Indeed, i’m uploading a shapefile.

But in geoserver documentation, this is the example based on shapefile : http://docs.geoserver.org/2.7.0/user/rest/examples/curl.html#adding-an-existing-shapefile

curl -v -u admin:geoserver -XPUT -H "Content-type: **text/plain**"
  -d "file:///data/shapefiles/rivers/rivers.**shp**"
  [http://localhost:8080/geoserver/rest/workspaces/acme/datastores/rivers/external.shp](http://localhost:8080/geoserver/rest/workspaces/acme/datastores/rivers/external.shp)

I’d rather not have to zip the files

This is my curl call in python:

ITERATION :
url = geoserverDestination.service_url+“/workspaces/”+workspace.name+“/datastores/”+storeName+“/external.shp”
data = “file://”+shapefilesPath+“.shp”#
curl = c = pycurl.Curl()
curl.setopt(pycurl.URL, url)
data = “%s” % data
curl.setopt(pycurl.CUSTOMREQUEST, “PUT”)
curl.setopt(pycurl.POSTFIELDS, data)
curl.setopt(pycurl.HTTPHEADER, [“Content-type: text/plain; charset=UTF-8”])
curl.setopt(pycurl.VERBOSE, 0)
curl.setopt(pycurl.USERPWD, environment[‘userDestination’]+‘:’+environment[‘passwordDestination’])GeoServer credential
try:
curl.perform()
except pycurl.error, error:
errno, errstr = error
print 'An error occurred: ', errstr

Best regards,

Nicolas

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
[http://goo.gl/it488V](http://goo.gl/it488V) for more information.
==
Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272

[http://www.geo-solutions.it](http://www.geo-solutions.it)
[http://twitter.com/geosolutions_it](http://twitter.com/geosolutions_it)

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility  for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.

Hi,

Indeed, I use the absolute path.

I feared that the problem is jdbc config. Unfortunately I have to use it in my project.
However, I have found a less clean solution to resolve my problem. I will use it.

I will test the solution without the JDBC config in the future and give you my feedback.

Thank you to both of you for the time you have given me to answer my questions.

Nicolas
[/uploads/default/original/2X/5/522e2e77acad9e9e76e5adb8e000a1109bd48936.png]

Nicolas GILLARD
Analyst Programmer
Projects - IS
Avenue des Arts 21, 1000 Bruxelles - cirb.brussels<http://cirb.brussels> - disclaimer<http:/cirb.brussels/disclaimer-1>
T +32 2 600 43 13 | G +32 479 57 92 04 | Helpdesk +32 2 801 00 00
Be green, leave it on the screen ! [/uploads/default/original/2X/4/4150cdfd6df3de09857f07b311579aaca6f60c4c.png] <http://www.linkedin.com/company/cirb_cibg&gt; [/uploads/default/original/2X/f/ff34d9710e85ffbae4215766f91cb3c8a61e3dbf.png] <https://twitter.com/CIRB_CIBG&gt; [/uploads/default/original/2X/7/7bfa6843c6ace4608a73f6a4926d5d56d793adf8.png] <http://www.environnement.brussels/thematiques/ville-durable/le-label-entreprise-ecodynamique&gt;

A noter ! L'adresse email de votre correspondant CIRB a changé pour devenir @cirb.brussels.

Opgelet! Het e-mailadres van uw CIBG-contact is veranderd en eindigt voortaan op @cibg.brussels.

________________________________
De : Stefano Costa [stefano.costa@anonymised.com]
Envoyé : lundi 28 septembre 2015 13:00
À : GILLARD Nicolas
Cc : Andrea Aime; geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Help : Geoserver publish shapefile -> Schema does not exist

Hi Nicolas,
right, you're uploading an existing shapefile... I thought you were uploading it in the request body (I seem to have issues accessing GeoServer's online docs this morning and I couldn't open your link).

Your code looks correct (as far as I can understand): are you using the absolute path to the shapefile in your request?

If the answer is yes, I'd do what Andrea suggested and try without the JDBCConfig module.

On Mon, Sep 28, 2015 at 11:34 AM, GILLARD Nicolas <ngillard@anonymised.com<mailto:ngillard@anonymised.com>> wrote:
Hi Stefano,
Indeed, i'm uploading a shapefile.

But in geoserver documentation, this is the example based on shapefile : http://docs.geoserver.org/2.7.0/user/rest/examples/curl.html#adding-an-existing-shapefile

curl -v -u admin:geoserver -XPUT -H "Content-type: text/plain"
  -d "file:///data/shapefiles/rivers/rivers.shp"
  http://localhost:8080/geoserver/rest/workspaces/acme/datastores/rivers/external.shp

I'd rather not have to zip the files

This is my curl call in python:

ITERATION :
            url = geoserverDestination.service_url+"/workspaces/"+workspace.name<http://workspace.name>+"/datastores/"+storeName+"/external.shp"
            data = "file://"+shapefilesPath+".shp"#
            curl = c = pycurl.Curl()
            curl.setopt(pycurl.URL, url)
            data = "%s" % data
            curl.setopt(pycurl.CUSTOMREQUEST, "PUT")
            curl.setopt(pycurl.POSTFIELDS, data)
            curl.setopt(pycurl.HTTPHEADER, ["Content-type: text/plain; charset=UTF-8"])
            curl.setopt(pycurl.VERBOSE, 0)
            curl.setopt(pycurl.USERPWD, environment['userDestination']+':'+environment['passwordDestination'])GeoServer credential
            try:
                curl.perform()
            except pycurl.error, error:
                errno, errstr = error
                print 'An error occurred: ', errstr

Best regards,

Nicolas

--

Best regards,
Stefano Costa

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Dott. Stefano Costa
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate.
Il loro utilizzo è consentito esclusivamente al destinatario del
messaggio, per le finalità indicate nel messaggio stesso. Qualora
riceviate questo messaggio senza esserne il destinatario, Vi preghiamo
cortesemente di darcene notizia via e-mail e di procedere alla
distruzione del messaggio stesso, cancellandolo dal Vostro sistema.
Conservare il messaggio stesso, divulgarlo anche in parte,
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità
diverse, costituisce comportamento contrario ai principi dettati dal
D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely
for the attention and use of the named addressee(s) and may be
confidential or proprietary in nature or covered by the provisions of
privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New
Data Protection Code).Any use not in accord with its purpose, any
disclosure, reproduction, copying, distribution, or either
dissemination, either whole or partial, is strictly forbidden except
previous formal approval of the named addressee(s). If you are not the
intended recipient, please contact immediately the sender by
telephone, fax or e-mail and delete the information in this message
that has been received in error. The sender does not give any warranty
or accept liability as the content, accuracy or completeness of sent
messages and accepts no responsibility for changes made after they
were sent or for other risks which arise as a result of e-mail
transmission, viruses, etc.