[Geoserver-devel] [Hudson] Hudson build is back to normal : cite-wfs-1.1-2.3.x #53

2013-03-25 Thread Hudson
See 


--
This message is automatically generated by Hudson. 
For more information on Hudson, see: http://hudson-ci.org/

--
Own the Future-IntelĀ® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-5726) Can't access GeoServer web interface when request header contains basic authentication.

2013-03-25 Thread Gael Lafond (JIRA)














































Gael Lafond
 created  GEOS-5726


Can't access GeoServer web interface when request header contains basic authentication.















Issue Type:


Bug



Affects Versions:


2.3.0



Assignee:


Andrea Aime



Components:


Security



Created:


25/Mar/13 8:54 PM



Description:


When a Basic authentication is present in the request header, for example, because it's required to access Apache or Tomcat, GeoServer prompt for it's own Basic authentication realms, overriding the one present in the header.

The only way the GeoServer Web interface can be accessed is to duplicate Apache / Tomcat users in GeoServer OR to delete the "Basic" authentication filter using the GeoServer administrator interface (available in GeoServer 2.3).

Note that GeoServer Basic authentication is only prompted when a basic authentication is already present in the request header and contains credentials that do not match GeoServer users.

Once the GeoServer has accepted the Basic authentication, the user still need to log in GeoServer using the Web interface. That Basic authentication do not trigger the GeoServer authentication. It's a simple validation, I don't understand why it's actually doing it.

As soon as the authentication is disabled in the container (Apache or Tomcat), the request do not contains any Basic authentication credentials and GeoServer do prompt for it's own Basic authentication. GeoServer show its Web interface directly, as it should.




Environment:


GeoServer installed inside a Basic authentication contener




Project:


GeoServer



Priority:


Minor




Reporter:


Gael Lafond




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira





--
Own the Future-IntelĀ® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


[Geoserver-devel] [jira] (GEOS-5725) Monitor plugin causes request failure when versions mismatch

2013-03-25 Thread Justin Deoliveira (JIRA)














































Justin Deoliveira
 created  GEOS-5725


Monitor plugin causes request failure when versions mismatch















Issue Type:


Bug



Assignee:


Justin Deoliveira



Created:


25/Mar/13 9:27 AM



Description:


The plugin looks up request object information dynamically. Another potential issue is not catching request object model changes with the compiler. The monitor plugin should never cause a request to fail so some defensive checks are in order.




Project:


GeoServer



Priority:


Major




Reporter:


Justin Deoliveira




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira





--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar___
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Re: [Geoserver-devel] legend graphic errors

2013-03-25 Thread Chris Holmes
Ah, that makes perfect sense, we just installed monitoring on that. Will
check, but I'd be surprised if that wasn't the issue, as that timing makes
sense for when it stopped working. Thanks Mauro!


On Mon, Mar 25, 2013 at 9:06 AM, Mauro Bartolomeoli <
mauro.bartolome...@geo-solutions.it> wrote:

> Hi Chris,
> I think this is due to a misalignment in wms module version and the
> monitoring extension version.
>
> With the support of layer groups in GetLegendGraphic the 
> GetLegendGraphicRequest
> API has changed, adding a layers property (matching the need to support
> more than one layer). It seems your monitoring extension is using the new
> API (layers), but the GetLegendGraphic operation is not. Could you check
> this?
>
> Thanks.
> Mauro Bartolomeoli
>
>
>
> 2013/3/25 Chris Holmes 
>
>> Hey all, on a production server (powering http://mapstory.org) we had
>> legend graphics just stop working. I'm not sure that it's even related to
>> an upgrade, as we haven't done one in awhile, and no one has done it in
>> awhile. We did get a weird corrupt data directory, and had to restore some
>> of the core config files.
>>
>> The error is java.lang.IllegalArgumentException: No such property
>> 'layers' for object org.geoserver.wms.GetLegendGraphicRequest@31f8576c
>>
>> Full stack trace below. Seems to happen every legend request. Has anyone
>> else seen anything like this?
>>
>> Server info is:
>>
>>- Version2.2-SNAPSHOT
>>- Git Revisioncc9198de627fcf83858bc9ff13d4c4af34960ecc
>>- Build Date28-Oct-2012 17:01
>>- GeoTools Version8-SNAPSHOT (rev
>>14f038af93435477737f05915bc663862cb62145)
>>
>>
>> Stack trace:
>>
>> 2013-03-23 13:01:04,531 ERROR [geoserver.ows] -
>> java.lang.IllegalArgumentException: No such property 'layers' for object
>> org.geoserver.wms.GetLegendGraphicRequest@31f8576c
>> at org.geoserver.ows.util.OwsUtils.get(OwsUtils.java:155)
>>  at
>> org.geoserver.monitor.ows.wms.GetLegendGraphicHandler.getLayers(GetLegendGraphicHandler.java:23)
>>  at
>> org.geoserver.monitor.ows.RequestObjectHandler.handle(RequestObjectHandler.java:42)
>>  at
>> org.geoserver.monitor.ows.MonitorCallback.operationDispatched(MonitorCallback.java:93)
>> at
>> org.geoserver.ows.Dispatcher.fireOperationDispatchedCallback(Dispatcher.java:727)
>>  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:722)
>>  at
>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
>> 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:617)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
>> at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:137)
>>  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:235)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>  at
>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> at
>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(Filt

Re: [Geoserver-devel] legend graphic errors

2013-03-25 Thread Mauro Bartolomeoli
Hi Chris,
I think this is due to a misalignment in wms module version and the
monitoring extension version.

With the support of layer groups in GetLegendGraphic the
GetLegendGraphicRequest
API has changed, adding a layers property (matching the need to support
more than one layer). It seems your monitoring extension is using the new
API (layers), but the GetLegendGraphic operation is not. Could you check
this?

Thanks.
Mauro Bartolomeoli



2013/3/25 Chris Holmes 

> Hey all, on a production server (powering http://mapstory.org) we had
> legend graphics just stop working. I'm not sure that it's even related to
> an upgrade, as we haven't done one in awhile, and no one has done it in
> awhile. We did get a weird corrupt data directory, and had to restore some
> of the core config files.
>
> The error is java.lang.IllegalArgumentException: No such property
> 'layers' for object org.geoserver.wms.GetLegendGraphicRequest@31f8576c
>
> Full stack trace below. Seems to happen every legend request. Has anyone
> else seen anything like this?
>
> Server info is:
>
>- Version2.2-SNAPSHOT
>- Git Revisioncc9198de627fcf83858bc9ff13d4c4af34960ecc
>- Build Date28-Oct-2012 17:01
>- GeoTools Version8-SNAPSHOT (rev
>14f038af93435477737f05915bc663862cb62145)
>
>
> Stack trace:
>
> 2013-03-23 13:01:04,531 ERROR [geoserver.ows] -
> java.lang.IllegalArgumentException: No such property 'layers' for object
> org.geoserver.wms.GetLegendGraphicRequest@31f8576c
> at org.geoserver.ows.util.OwsUtils.get(OwsUtils.java:155)
>  at
> org.geoserver.monitor.ows.wms.GetLegendGraphicHandler.getLayers(GetLegendGraphicHandler.java:23)
>  at
> org.geoserver.monitor.ows.RequestObjectHandler.handle(RequestObjectHandler.java:42)
>  at
> org.geoserver.monitor.ows.MonitorCallback.operationDispatched(MonitorCallback.java:93)
> at
> org.geoserver.ows.Dispatcher.fireOperationDispatchedCallback(Dispatcher.java:727)
>  at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:722)
>  at
> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
> 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:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
> at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:137)
>  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:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>  at
> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 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.ge

[Geoserver-devel] legend graphic errors

2013-03-25 Thread Chris Holmes
Hey all, on a production server (powering http://mapstory.org) we had
legend graphics just stop working. I'm not sure that it's even related to
an upgrade, as we haven't done one in awhile, and no one has done it in
awhile. We did get a weird corrupt data directory, and had to restore some
of the core config files.

The error is java.lang.IllegalArgumentException: No such property 'layers'
for object org.geoserver.wms.GetLegendGraphicRequest@31f8576c

Full stack trace below. Seems to happen every legend request. Has anyone
else seen anything like this?

Server info is:

   - Version2.2-SNAPSHOT
   - Git Revisioncc9198de627fcf83858bc9ff13d4c4af34960ecc
   - Build Date28-Oct-2012 17:01
   - GeoTools Version8-SNAPSHOT (rev
   14f038af93435477737f05915bc663862cb62145)


Stack trace:

2013-03-23 13:01:04,531 ERROR [geoserver.ows] -
java.lang.IllegalArgumentException: No such property 'layers' for object
org.geoserver.wms.GetLegendGraphicRequest@31f8576c
at org.geoserver.ows.util.OwsUtils.get(OwsUtils.java:155)
at
org.geoserver.monitor.ows.wms.GetLegendGraphicHandler.getLayers(GetLegendGraphicHandler.java:23)
at
org.geoserver.monitor.ows.RequestObjectHandler.handle(RequestObjectHandler.java:42)
at
org.geoserver.monitor.ows.MonitorCallback.operationDispatched(MonitorCallback.java:93)
at
org.geoserver.ows.Dispatcher.fireOperationDispatchedCallback(Dispatcher.java:727)
at org.geoserver.ows.Dispatcher.dispatch(Dispatcher.java:722)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:263)
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:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
at org.geoserver.monitor.MonitorFilter.doFilter(MonitorFilter.java:137)
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:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
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.g