[Geoserver-users] GEOT-5514 xml injection question

2017-03-08 Thread Bessette-Halsema, Dominique E
I was looking at the bug story



https://osgeo-org.atlassian.net/browse/GEOT-5514



Is it possible to uncomment the lines org.geotools.xml.DocumentFactory:152-153 
to fix the xml injection.  We are getting close to delivery and it would be 
less risk to uncomment out those lines in version 15.1 than update the 
GeoServer version.



Thanks



Dominique



--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Image Mosaic

2017-03-08 Thread Rogers, David
Hello,

Does this Image Mosaic plugin hold any sort of cache in memory between 
"rest/workspaces//coveragestores//external.imagemosaic?configure=all"
 calls?  I'm specifically interested in something that may cause it to 
misbehave in a clustered environment.

Thanks,

David Rogers
Software Engineer
General Dynamics Information Technology
david.rog...@gdit.com

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Feature Data Reader Query Zoom level

2017-03-08 Thread Chris Snider
Hi,

I was wondering if there is a way to determine the zoom level of a WMS call 
against a content feature reader?  For example, if a query is passed into a 
feature data source/reader, is it possible to tell based on the FastBBOX filter 
what the current zoom/scale of the request is?

I ask because I'd like to create a dynamic data store/feature source that 
generates lines/polygons specific to the bounds that are being requested via 
WMS adding higher density of geometries the closer to the ground the request 
is.  Is this possible?

Chris Snider
Senior Software Engineer
Intelligent Software Solutions, A Polaris Alpha Company
[Description: Description: Description: cid:image001.png@01CA1F1F.CBC93990]

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.9.2 GC overhead limit exceeded

2017-03-08 Thread dracic
Limit of 1024 max open files is too low for GWC in heavy use. You should set
it to unlimited.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-9-2-GC-overhead-limit-exceeded-tp5306122p5311451.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.9.2 GC overhead limit exceeded

2017-03-08 Thread dracic
I see now that you posted limits for root account. You should check for
tomcat user, or account that is used for tomcat service. I don't see which
distro you use...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Geoserver-2-9-2-GC-overhead-limit-exceeded-tp5306122p5311455.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geofence and Oauth2

2017-03-08 Thread Emanuele Tajariol
Hi Matteo,

if you are going to use the embedded version of GeoFence, there should not be 
any problem, since in that configuration GeoFence relies entirely on the users 
and usergroups provided by GeoServer; so, once GeoServer recognises users and 
groups from an external source, it will feed them in GeoFence when needed.

If you are using GeoFence as a standalone application, you'll need to 
implement the DAOs in GeoFence for reading users and groups from the openam 
services. You may find it useful to take the LDAP module as an example, since 
it implements the DAOs for reading users and groups from an LDAP directory.

   Cheers,
   Emanuele


Alle 10:48:53 di Tuesday 7 March 2017, Matteo Cusmai ha scritto:
> Hi all,
> I am going to secure my geoserver by using openam as oauth2 authentication
> server. Is it possible to use users stored in openam to create rules in
> geofence?
> 
> Regards,
> Matteo.
> 
> 
> 
> Matteo Cusmai


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

Ing. Emanuele Tajariol
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:+39 0584 1660272
mob:   +39  380 2116282 

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

---

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] errors gwcFacade and DiskQuotaMonitor

2017-03-08 Thread Eugenio Trumpy
Yes, you are right.

I delete the LayerInfoImpl-4b9ea1ed:


and geoserver started again.

thanks a lot.

E.


Da: Jonathan Moules 
Inviato: mercoledì 8 marzo 2017 14.23
A: Eugenio Trumpy
Cc: geoserver-users@lists.sourceforge.net
Oggetto: Re: [Geoserver-users] errors gwcFacade and DiskQuotaMonitor

Hi Eugenio,
I think this is the important line:
"Could not locate a layer or layer group with id 
LayerInfoImpl-4b9ea1ed:15a87d16d6a:-7ff9 within GeoServer configuration, the 
GWC configuration seems to be out of synch"

Maybe try clearing and rebuilding your GWC?
Cheers,
Jonathan

 On Mon, 06 Mar 2017 17:16:59 + Eugenio Trumpy 
wrote 

Hi all,


I discovered these errors on geoserver log:


2017-03-06 17:14:45,012 ERROR [org.springframework.web.context.ContextLoader] - 
Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.5.jar!/applicationContext.xml]:
 Cannot r$
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5010)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5504)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)
at 
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:692)
at 
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at 

Re: [Geoserver-users] errors gwcFacade and DiskQuotaMonitor

2017-03-08 Thread Jonathan Moules
Hi Eugenio,
I think this is the important line:
"Could not locate a layer or layer group with id 
LayerInfoImpl-4b9ea1ed:15a87d16d6a:-7ff9 within GeoServer configuration, the 
GWC configuration seems to be out of synch"

Maybe try clearing and rebuilding your GWC?
Cheers,
Jonathan

 On Mon, 06 Mar 2017 17:16:59 + Eugenio 
Trumpyfrippe12...@hotmail.com wrote  

   Hi all,
 
 
 I discovered these errors on geoserver log:
 
 
 
 2017-03-06 17:14:45,012 ERROR [org.springframework.web.context.ContextLoader] 
- Context initialization failed
 org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[jar:file:/var/lib/tomcat7/webapps/geoserver/WEB-INF/lib/gs-gwc-2.8.5.jar!/applicationContext.xml]:
 Cannot r$
 at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329)
 at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107)
 at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630)
 at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
 at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
 at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
 at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)
 at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
 at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)
 at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
 at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:293)
 at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
 at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:23)
 at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5010)
 at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5504)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at 
org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)
 at 
org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:692)
 at 
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:217)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at 
org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:213)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at 
org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at 

[Geoserver-users] Geoserver 2.10 with integrated GWC and secured workspace

2017-03-08 Thread Lucas Heezen
Hello,

We are facing a problem with Geoserver 2.10.
There is a workspace configured with serveral layers. We have secured this 
workspace with a role.
We need to seed those layers with GWC. Here comes the problem, GWC cannot seed 
those layers, GWC uses anonymous to access the workspace.

We have tried to add 'httpUsername' and 'httpPassword' to the 'gwc-gs.xml' but 
without success.

Is there any option i'm missing?

Geoserver: 2.10.0
GeoTools: 16.0
GeoWebCache: 1.10.0

With regards,
Lucas

--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Redirecting Jetty to https

2017-03-08 Thread Anna Ferrés
Good morning,


I am a user of GeoServer 2.6, but not a developer, and my computer skills are 
limited.


I have a GeoServer working and serving with no problem from 2014.


Now I am trying to move from HTTP to HTTPS, but I am facing some problems to do 
it.


I have buyed an SSL certificate and installed it on my server, but I guess 
something is missing in order to detect the certificate from my Jetty web 
service, because for the moment I am not being able to access my https url.


My URL now is http://maps.croma.org.es and if I try https://maps.croma.org.es 
nothing happens.


Anyone knows which are the steps for redirecting to HTTPS?


I will apreciate your help!


Thanks in advance,


Anna Ferrés.

Barcelona, Spain.
--
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users