Hey Jim, If you scroll down the the end of that "stack trace" you can see the problem:
Caused by: java.io.FileNotFoundException: > /mnt/geoserver_data/data-location_point/data-location_point.shp (Permission > denied) > Cheers, -- Jody Garnett On Jul 5, 2024 at 12:01:43 PM, Jim Rogers <jim.rog...@bogart.ai> wrote: > One note I want to make known about publishing a shapefile with GeoServer. > > > > I copy the data to the GeoServer data directory to where it can be > selected. I am immediately able to add the new shapefile to the Data Store > and create a new Layer. When I then click on Publish, I get an error > message (see below), but the next day when I attempt to publish the same > shapefile, I am successful with no error messages. I do change the > permission of the shapefile to chmod 775 prior to beginning to add Data > Store and publish. > > > > Jim > > > > An error occurred while loading the page > > Oops, something went wrong... > > Sorry, something unexpected happened on the server. > > > > The GeoServer user list might help you address this issue. Click here to > subscribe, and then include in your message the GeoServer version, the > stack trace below and the steps to reproduce the problem. > > > > org.apache.wicket.WicketRuntimeException: Method onRequest of interface > org.apache.wicket.behavior.IBehaviorListener targeted at > org.apache.wicket.ajax.markup.html.AjaxLink$1@7bafa61d on component > [AjaxLink [Component id = link]] threw an exception > > at > org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268) > > at > org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) > > at > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:248) > > at > org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) > > at > org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) > > at > org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > > at > org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) > > at > org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) > > at > org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) > > at > org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) > > at > org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) > > at > org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:529) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:623) > > at > org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:166) > > at > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177) > > at > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:51) > > at > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072) > > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965) > > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) > > at > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:529) > > at > org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:623) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:73) > > at > org.geoserver.ows.HTTPHeadersCollector.doFilter(HTTPHeadersCollector.java:48) > > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70) > > at > org.geoserver.filters.HTTPMethodFilter.doFilter(HTTPMethodFilter.java:36) > > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70) > > at > org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:194) > > at > org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70) > > at > org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:43) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:39) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71) > > at > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115) > > at > org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75) > > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71) > > at > org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122) > > at > org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75) > > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71) > > at > org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:223) > > at > org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:217) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75) > > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) > > at > org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:122) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71) > > at > org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:106) > > at > org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:97) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75) > > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:71) > > at > org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilterInternal(GeoServerSecurityContextPersistenceFilter.java:72) > > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) > > at > org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:75) > > at > org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92) > > at > org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346) > > at > org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221) > > at > org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186) > > at > org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:142) > > at > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354) > > at > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:77) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:48) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:49) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) > > at > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) > > at > org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670) > > at > org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:765) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) > > at > org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) > > at > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) > > at > org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) > > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794) > > at > org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) > > at > org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) > > at > org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) > > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > > at java.base/java.lang.Thread.run(Thread.java:829) > > Caused by: java.lang.reflect.InvocationTargetException > > at > jdk.internal.reflect.GeneratedMethodAccessor196.invoke(Unknown Source) > > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > at > java.base/java.lang.reflect.Method.invoke(Method.java:566) > > at > org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:258) > > ... 122 more > > Caused by: java.lang.RuntimeException: Error occurred while building the > resources for the configuration page > > at > org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:431) > > at > org.geoserver.web.data.layer.NewLayerPage$9.onClick(NewLayerPage.java:324) > > at > org.geoserver.web.wicket.SimpleAjaxLink$1.onClick(SimpleAjaxLink.java:47) > > at > org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:85) > > at > org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155) > > at > org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601) > > ... 126 more > > Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: > /mnt/geoserver_data/data-location_point/data-location_point.shp (Permission > denied) > > at > org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:341) > > at > org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:308) > > at > org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:106) > > at > org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:342) > > at > org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:325) > > at > org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:421) > > ... 131 more > > Caused by: java.io.FileNotFoundException: > /mnt/geoserver_data/data-location_point/data-location_point.shp (Permission > denied) > > at java.base/java.io.RandomAccessFile.open0(Native Method) > > at > java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345) > > at > java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) > > at > java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214) > > at > org.geotools.data.shapefile.files.ShpFiles.getReadChannel(ShpFiles.java:773) > > at > org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:263) > > at > org.geotools.data.shapefile.ShapefileSetManager.openShapeReader(ShapefileSetManager.java:74) > > at > org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:496) > > at > org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:454) > > at > org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:339) > > ... 136 more > > An error occurred while loading the page > > > > > > *From:* Jody Garnett <jody.garn...@gmail.com> > *Sent:* Tuesday, July 2, 2024 5:39 PM > *To:* Jim Rogers <jim.rog...@bogart.ai> > *Cc:* Vagicherla, Vineela CTR DIA (US) <vineela.vagiche...@dodiis.mil>; > geoserver-users@lists.sourceforge.net > *Subject:* Re: [Geoserver-users] GeoServer questions > > > > *This email was sent from an external server* > > Jim I think both of those topics are covered in the use manual user > getting started section. > > > > Can you let me know what have tried thus far? > > -- > > Jody Garnett > > > > > > On Tue, Jul 2, 2024 at 12:12 PM Jim Rogers <jim.rog...@bogart.ai> wrote: > > Would it be possible to provide instructions on how to set up a direct > connection from out database to GeoServer? > > > > Also, how can we create OGC web services? > > > > Thanks, > > Jim Rogers > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ianturton.com_talks_foss4g.html-23_&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=uMQ1fmqLpWEDCpb5q3yHTvbMldqnAk5ixj2uAnEIfV1sItPEJ6nxW4jAaHNi6tV8&s=PgdCHamLHwyjZvtclAM6_515M518-uw9oI4TD4Ob4NE&e=> > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > <https://urldefense.proofpoint.com/v2/url?u=http-3A__geoserver.org_comm_userlist-2Dguidelines.html&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=uMQ1fmqLpWEDCpb5q3yHTvbMldqnAk5ixj2uAnEIfV1sItPEJ6nxW4jAaHNi6tV8&s=2mMT0OcYE0VgebqWN9ZOauUwJPuMwArxJAYOIs2yOps&e=> > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > <https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_geoserver_geoserver_wiki_Successfully-2Drequesting-2Dand-2Dintegrating-2Dnew-2Dfeatures-2Dand-2Dimprovements-2Din-2DGeoServer&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=uMQ1fmqLpWEDCpb5q3yHTvbMldqnAk5ixj2uAnEIfV1sItPEJ6nxW4jAaHNi6tV8&s=3ogBc2vEcZAlS2wqoVeBx-ArG7PVUndCaV0FopEEYXE&e=> > > > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_geoserver-2Dusers&d=DwMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=64rOp_q_edj6FGjJwENH7LCm8WCfU__224g7-07KUSY&m=uMQ1fmqLpWEDCpb5q3yHTvbMldqnAk5ixj2uAnEIfV1sItPEJ6nxW4jAaHNi6tV8&s=bSjQ6lwIDCU8iEpmqgHBS5he8F-GiIm71Am26ZMVEXQ&e=> > > > ------------------------------ > > This email has been scanned for spam and viruses by Proofpoint Essentials. > Click here > <https://us3.proofpointessentials.com/app/report_spam.php?mod_id=11&mod_option=logitem&report=1&type=easyspam&k=k1&payload=53616c7465645f5f7c50abca8f9e625c02ac23833d1c18c35e11de3f4bd0e4607475e2198b33467ac1d4b8d7a5ca788152b716f6d3dad38de9b1f93b48d8d9aab465ef3adb3ad702d136b3440cff4b95b825b22de81802d615038ee58da64b10a098b10f538daf90b6ff6382af2d72def64532de0d4cf5a82d78f2caab7d84d041121a128bba24c818bccfbe85dcd5ed11208616b41cb0e755ded7c8338f7584> > to report this email as spam. >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users