<div dir="ltr"><div dir="ltr">So the default behaviour is no longer to be logged in to geoserver via geonode as a superuser? </div><div dir="ltr"><br></div><div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 11:08 AM Alessio Fabiani <<a href="mailto:alessio.fabiani@gmail.com">alessio.fabiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I confirm this is just a warning.<div><br></div><div>Lower down the GeoServer logging level if you don't want to be overwhelmed by all those warnings.</div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 15 ott 2018 alle ore 17:02 Michael Fedak <<a href="mailto:mikefedak@gmail.com" target="_blank">mikefedak@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Now the only error I have remaining is around superuser logins for geoserver. <div><br></div><div>If I try using the link from geonode, I get the following error. But if I use the 'authorize' link on the geoserver page the login occurs as intended. Logout seems to work perfectly after being logged in. </div><div><br></div><div><div>2018-10-15 14:59:46,763 DEBUG [geoserver.security] - Bad credentials</div><div>org.springframework.security.authentication.BadCredentialsException: Bad credentials</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.authentication.dao.DaoAuthenticationProvider.additionalAuthenticationChecks(DaoAuthenticationProvider.java:98)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:165)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.auth.UsernamePasswordAuthenticationProvider.authenticate(UsernamePasswordAuthenticationProvider.java:78)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.GeoServerAuthenticationProvider.authenticate(GeoServerAuthenticationProvider.java:54)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:167)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.GeoServerSecurityManager.checkForDefaultAdminPassword(GeoServerSecurityManager.java:1440)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.web.SecurityHomePageContentProvider$SecurityWarningsPanel.<init>(SecurityHomePageContentProvider.java:117)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.web.SecurityHomePageContentProvider.getPageBodyComponent(SecurityHomePageContentProvider.java:44)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.web.GeoServerHomePage$1.populateItem(GeoServerHomePage.java:133)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.markup.html.list.ListView.onPopulate(ListView.java:523)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.internalBeforeRender(Component.java:950)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.beforeRender(Component.java:1018)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1836)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.onBeforeRender(Component.java:3916)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Page.onBeforeRender(Page.java:801)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.internalBeforeRender(Component.java:950)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.beforeRender(Component.java:1018)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.internalPrepareForRender(Component.java:2236)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Component.render(Component.java:2325)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.Page.renderPage(Page.java:1018)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)</div><div><span style="white-space:pre-wrap"> </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)</div><div><span style="white-space:pre-wrap"> </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:157)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)</div><div><span style="white-space:pre-wrap"> </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)</div><div><span style="white-space:pre-wrap"> </span>at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:414)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.flow.controller.IpBlacklistFilter.doFilter(IpBlacklistFilter.java:89)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:83)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:66)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:41)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:37)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:51)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:112)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:157)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.oauth2.GeoServerOAuthAuthenticationFilter.doFilter(GeoServerOAuthAuthenticationFilter.java:172)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:70)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:74)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:213)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:141)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:90)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:42)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)</div><div><span style="white-space:pre-wrap"> </span>at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:475)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:651)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:500)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:754)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1376)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)</div><div><span style="white-space:pre-wrap"> </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)</div><div><span style="white-space:pre-wrap"> </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)</div><div><span style="white-space:pre-wrap"> </span>at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)</div><div><span style="white-space:pre-wrap"> </span>at java.lang.Thread.run(Thread.java:748)</div><div>2018-10-15 14:59:46,764 DEBUG [auth.GeoFenceAuthenticationProvider] - Auth request with org.springframework.security.authentication.UsernamePasswordAuthenticationToken@58b33e84: Principal: admin; Credentials: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities</div><div>2018-10-15 14:59:46,764 DEBUG [geofence.cache] - Loading user 'admin'</div><div>2018-10-15 14:59:46,765 WARN [geofence.cache] - org.geoserver.geofence.cache.CachedRuleReader$NoAuthException: Can't auth user [admin]</div><div>2018-10-15 14:59:46,765 DEBUG [auth.GeoFenceAuthenticationProvider] - Default admin credentials NOT authenticated -- probably a frontend check</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 10:54 AM Michael Fedak <<a href="mailto:mikefedak@gmail.com" target="_blank">mikefedak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I confirm that this fixes the management commands. </div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 10:41 AM Alessio Fabiani <<a href="mailto:alessio.fabiani@gmail.com" target="_blank">alessio.fabiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">This should fix the duplicated rules issue when running the management commands<div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/3988/files" target="_blank">https://github.com/GeoNode/geonode/pull/3988/files</a><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 15 ott 2018 alle ore 16:13 Michael Fedak <<a href="mailto:mikefedak@gmail.com" target="_blank">mikefedak@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank Alessio, <div><br></div><div>This fixes the problem with documents. However I am still experiencing the same problems with layers, I have commented on the pull request. I am also having the same issue with superusers not being automatically logged into geoserver. </div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 15, 2018 at 4:39 AM Alessio Fabiani <<a href="mailto:alessio.fabiani@gmail.com" target="_blank">alessio.fabiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Michael,<div>thanks very much for helping on test.</div><div><br></div><div>I've finally figured out where the problem was. Fix available here</div><div><br></div><div><a href="https://github.com/GeoNode/geonode/pull/3985" target="_blank">https://github.com/GeoNode/geonode/pull/3985</a><br></div><div><br></div><div>I'll merge it as soon as the Travis checks pass. I'll also try to add some specific test cases for this particular issue.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno dom 14 ott 2018 alle ore 21:08 Alessio Fabiani <<a href="mailto:alessio.fabiani@gmail.com" target="_blank">alessio.fabiani@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Uhm very strange. Tomorrow will do some specific tests on this. Currently I cannot figure out what the problem could be.</div><br><div class="gmail_quote"><div dir="ltr">Il dom 14 ott 2018, 21:03 Michael Fedak <<a href="mailto:mikefedak@gmail.com" target="_blank">mikefedak@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, fixed; I had my JAVA_OPTS entered incorrectly. Now geoserver starts. However, I am experiencing the same issues as before. </div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 14, 2018 at 2:10 PM Michael Fedak <<a href="mailto:mikefedak@gmail.com" rel="noreferrer" target="_blank">mikefedak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Traced it back some more, it seems to be an issue with GWC:<div><br></div><div>Cannot resolve reference to bean 'gwcXmlConfigResourceProvider' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConfigResourceProvider' defined in URL [jar:file:/opt/apache-tomcat-9.0.1/webapps/geoserver/WEB-INF/lib/gs-gwc-2.13-20181005.133101-833.jar!/geowebcache-core-context.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.geoserver.gwc.config.GeoserverXMLResourceProvider]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Could not create directory.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 14, 2018 at 1:42 PM Michael Fedak <<a href="mailto:mikefedak@gmail.com" rel="noreferrer" target="_blank">mikefedak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Ok, got the war and attempted to deploy it. Tomcat is unable to deploy it due to an error associated with geotools:<div><br></div><div><br></div><div>Geoserver log:</div><div><div>2018-10-14 10:24:59,152 TRACE [geotools.factory] - ENTRY (CRSAuthorityFactory, CRS_AUTHORITY_FACTORY)</div><div>2018-10-14 10:24:59,152 TRACE [geotools.factory] - CHECK (CRSAuthorityFactory, CRS_AUTHORITY_FACTORY): user provided a Class.</div><div>2018-10-14 10:24:59,152 TRACE [geotools.factory] - CHECK (CRSAuthorityFactory, CRS_AUTHORITY_FACTORY): consider hint[last] AbstractEpsgMediator.</div><div>2018-10-14 10:24:59,152 TRACE [geotools.factory] - THROW (CRSAuthorityFactory, CRS_AUTHORITY_FACTORY): could not find implementation.</div><div>2018-10-14 10:24:59,152 INFO [geotools.util] - Weak collection cleaner stopped</div></div><div><br></div><div>Catalina log:</div><div><br></div><div><br></div><div><div>14-Oct-2018 17:21:40.658 SEVERE [http-nio-8080-exec-13] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [geoserver-2.13.x] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@454bb710]) and a value of type [org.geotools.referencing.operation.projection.TransverseMercator.Provider] (value [PROJECTION["Transverse_Mercator"]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.</div><div>14-Oct-2018 17:21:40.658 SEVERE [http-nio-8080-exec-13] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [geoserver-2.13.x] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@86e380d]) and a value of type [org.geotools.referencing.wkt.Formatter] (value []) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.</div></div><div><br></div><div><br></div><div>I will keep trying to troubleshoot this. </div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 14, 2018 at 10:02 AM Michael Fedak <<a href="mailto:mikefedak@gmail.com" rel="noreferrer" target="_blank">mikefedak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Never mind, found your build server: <a href="https://build.geo-solutions.it/geonode/geoserver/latest/" rel="noreferrer" target="_blank">https://build.geo-solutions.it/geonode/geoserver/latest/</a></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 14, 2018 at 10:00 AM Michael Fedak <<a href="mailto:mikefedak@gmail.com" rel="noreferrer" target="_blank">mikefedak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, I can do that. Is there a place to download the build with the extension since <a href="http://build.geonode.org" rel="noreferrer" target="_blank">build.geonode.org</a> is down? Or shall I just download vanilla 2.13 and apply the extension myself?</div><br><div class="gmail_quote"><div dir="ltr">On Sun, Oct 14, 2018 at 9:56 AM Alessio Fabiani <<a href="mailto:alessio.fabiani@gmail.com" rel="noreferrer" target="_blank">alessio.fabiani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Uhm, most probably a Geoserver issue. From. Geoserver 2.13+ there's a fix to threat void users as * users.<div dir="auto">Any chance to try out updating to Geoserver 2.13.x? </div><div dir="auto">You won't have to change anything on the data dir. </div></div><br><div class="gmail_quote"><div dir="ltr">Il ven 12 ott 2018, 19:11 Michael Fedak <<a href="mailto:mikefedak@gmail.com" rel="noreferrer" target="_blank">mikefedak@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">I am using the latest 2.8.x branch with Geoserver 2.12.2 and I keep receiving the following error when attempting to run the updatelayers command (Below). </div><div dir="ltr"><br></div><div>I am also having trouble with users not being sync'd with geoserver. I have gone through the documentation for security configuration, and checked that the geonode role/user apis are accessible to geoserver. As far as I can tell, nothing is blocking either geonode from reaching geofence or vice-versa. </div><div><br></div><div><br></div><div dir="ltr"><div><div>Traceback (most recent call last):</div><div> File "manage.py", line 29, in <module></div><div> execute_from_command_line(sys.argv)</div><div> File "/home/gnode/gndev/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line</div><div> utility.execute()</div><div> File "/home/gnode/gndev/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute</div><div> self.fetch_command(subcommand).run_from_argv(self.argv)</div><div> File "/home/gnode/gndev/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv</div><div> self.execute(*args, **cmd_options)</div><div> File "/home/gnode/gndev/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute</div><div> output = self.handle(*args, **options)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/geoserver/management/commands/updatelayers.py", line 124, in handle</div><div> execute_signals=True)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/geoserver/helpers.py", line 636, in gs_slurp</div><div> layer.set_permissions(perm_spec)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/security/models.py", line 216, in set_permissions</div><div> sync_geofence_with_guardian(self.layer, perms, group=group)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/decorators.py", line 44, in wrapper</div><div> return func(*args, **kwargs)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/security/utils.py", line 393, in sync_geofence_with_guardian</div><div> _update_geofence_rule(<a href="http://layer.name" rel="noreferrer noreferrer" target="_blank">layer.name</a>, layer.workspace, service)</div><div> File "/home/gnode/geonode_dev/geonode/geonode/security/utils.py", line 564, in _update_geofence_rule</div><div> raise RuntimeError(msg)</div><div>Exception: ('Failed to process lprca_ws_boundarywgs84', RuntimeError("Could not ADD GeoServer User None Rule for Layer u'lprca_ws_boundarywgs84'",))</div></div></div></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>