I am having troubles with the latest 2.3.5 and also with another 2.3. series (2.3.2 if I recall right). Same data for both. I upgraded the old one in order to get rid of bugs but didn't succeed on that.
In short: LDAP server (Apache Direcory) is acting as an authentication provider. If I add workspace specific security rule at some stage I will have similar problems that was described in that jira. Is it caused by the same bug? Or could it be? When will the RC2 be released?
https://jira.codehaus.org/browse/GEOS-5689
- mika -
On Tue, Aug 27, 2013 at 5:58 PM, Mika M Lehtonen <mika@anonymised.com>wrote:
I am having troubles with the latest 2.3.5 and also with another 2.3.
series (2.3.2 if I recall right). Same data for both. I upgraded the old
one in order to get rid of bugs but didn't succeed on that.
In short: LDAP server (Apache Direcory) is acting as an authentication
provider. If I add workspace specific security rule at some stage I will
have similar problems that was described in that jira. Is it caused by
the same bug? Or could it be? When will the RC2 be released?
https://jira.codehaus.org/browse/GEOS-5689
RC2 will be released in a few days, September 2. Not sure how LDAP can be
involved
though, I mean, are you ussuing a reload for any reason?
Do you have the stack trace?
Cheers
Andrea
--
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
-------------------------------------------------------
I haven’t got an access to the host right now. I will sent the stack trace tommorrow. I guess this is roughly what happened. 1) I created a data security rule e.g. only the workspace xxx is available for the role role_xxx 2) at some stage the authorization stopped working like providing the capabilities list but giving 404 for data access or something similar 3) I removed the rule and added again. Not yet working after that. 4) I removed the rule and tried to reload the catalog. After that I got similar behaviour than in the mentioned jira issue. But I am not sure was it this way. I wasn’t paying much attention and found the jira later on. Besides the jira issue is quite familiar or the symptoms of it. We have had quite a lot of those problems. Geoserver stops working properly. → We try to reload the stuff. → Not helping. → Reboot → Not working every time → If I recall right, we have sometimes also erased the wms.xml and wfs.xml. I’ll get back tommorrow. - mika -
···
27.8.2013 19:09, Andrea Aime kirjoitti:
On Tue, Aug 27, 2013 at 5:58 PM, Mika M Lehtonen <mika@anonymised.com> wrote:
I am having troubles with the latest 2.3.5 and also with another 2.3.
series (2.3.2 if I recall right). Same data for both. I upgraded the old
one in order to get rid of bugs but didn’t succeed on that.
In short: LDAP server (Apache Direcory) is acting as an authentication
provider. If I add workspace specific security rule at some stage I will
have similar problems that was described in that jira. Is it caused by
the same bug? Or could it be? When will the RC2 be released?
https://jira.codehaus.org/browse/GEOS-5689
RC2 will be released in a few days, September 2. Not sure how LDAP can be involved
though, I mean, are you ussuing a reload for any reason?
Do you have the stack trace?
Cheers
Andrea
–
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
Mika M Lehtonen kirjoitti 2013-08-27 20:12:
27.8.2013 19:09, Andrea Aime kirjoitti:
On Tue, Aug 27, 2013 at 5:58 PM, Mika M Lehtonen <mika@anonymised.com> wrote:
I am having troubles with the latest 2.3.5 and also with another 2.3.
series (2.3.2 if I recall right). Same data for both. I upgraded the old
one in order to get rid of bugs but didn't succeed on that.
In short: LDAP server (Apache Direcory) is acting as an authentication
provider. If I add workspace specific security rule at some stage I will
have similar problems that was described in that jira. Is it caused by
the same bug? Or could it be? When will the RC2 be released?
https://jira.codehaus.org/browse/GEOS-5689 [1]
RC2 will be released in a few days, September 2. Not sure how LDAP can be involved
though, I mean, are you ussuing a reload for any reason?
Do you have the stack trace?
Cheers
Andrea
--
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 [3]
http://twitter.com/geosolutions_it [4]
-------------------------------------------------------
I haven't got an access to the host right now. I will sent the stack
trace tommorrow.
I guess this is roughly what happened.
1) I created a data security rule e.g. only the workspace xxx is
available for the role role_xxx
2) at some stage the authorization stopped working like providing
the capabilities list but giving 404 for data access or something
similar
3) I removed the rule and added again. Not yet working after that.
4) I removed the rule and tried to reload the catalog. After that I
got similar behaviour than in the mentioned jira issue.
But I am not sure was it this way. I wasn't paying much attention
and found the jira later on. Besides the jira issue is quite familiar
or the symptoms of it. We have had quite a lot of those problems.
Geoserver stops working properly. -> We try to reload the stuff. ->
Not helping. -> Reboot -> Not working every time -> If I recall right,
we have sometimes also erased the wms.xml and wfs.xml.
I'll get back tommorrow.
- mika -
Links:
------
[1] https://jira.codehaus.org/browse/GEOS-5689
[2] http://opensdi.geo-solutions.it
[3] http://www.geo-solutions.it
[4] http://twitter.com/geosolutions_it
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Shortly said, this is the error when clicking reload. But what did I do to get there, I am not sure.
2013-08-28 07:13:30,305 ERROR [org.geoserver.web] - An error occurred while reloading the catalog
java.lang.IllegalArgumentException: Settings already exist for workspace 'railway_line'
at org.geoserver.config.impl.GeoServerImpl.add(GeoServerImpl.java:119)
at org.geoserver.config.GeoServerLoader.readConfiguration(GeoServerLoader.java:627)
at org.geoserver.config.DefaultGeoServerLoader.loadGeoServer(DefaultGeoServerLoader.java:72)
at org.geoserver.config.GeoServerLoader.reload(GeoServerLoader.java:211)
at org.geoserver.config.GeoServerLoaderProxy.reload(GeoServerLoaderProxy.java:65)
at org.geoserver.config.impl.GeoServerImpl.reload(GeoServerImpl.java:426)
at org.geoserver.web.admin.StatusPage$5.onClick(StatusPage.java:156)
at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68)
at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
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.doGet(WicketServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
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.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:88)
at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:70)
at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
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:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
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:134)
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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)