Re: [Geoserver-users] Tomcat or Jetty?

2013-03-18 Thread Alex Mandel
On 03/16/2013 03:00 AM, Andrea Aime wrote:
 On Fri, Mar 15, 2013 at 11:44 AM, Jonathan Moules 
 jonathanmou...@warwickshire.gov.uk wrote:

 Hi List,
So, simple question: Should we stick with the default Jetty or go with
 Tomcat instead, and more importantly - why? We're going to be using it on a
 Windows Server 2008 R2.
 What do other folks use? As Jetty already-works for us, is there a reason
 to justify spending the time swapping to a unfamiliar package?

 I'm surprised this hasn't been asked more often - a search of the archives
 only found it once and the answer was simply use tomcat with no
 explanation of why.


 The installation package uses Jetty for convenience, it's small and
 provides just the functionality needed for people to
 quickly try out GeoServer.

 At the same time, the Jetty we embed is 6.1.8, which is  4 years old, as
 such it has received no performance or
 security upgrades since back then.


That seems kinda silly, is it non-trivial to ship a newer version? Seems 
like 6.1.x series is still common (6.1.24 on ubuntu 12.04), which I 
would guess is just fixes.

Thanks,
Alex


--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] when cutting tiles the JVM goes up in smoke

2013-03-18 Thread cmaul
Hello,

Geoserver is 2.25
Apache 2.2.21
Tomcat 7.0.27
GDAL 1.9.2
ECW SDK 4.3
Visual C++ 2010 redistributables.

Windows2008R2 virtual machine with 32GB RAM.

When cutting tiles the Java Vm disappears without a trace after happily
working between 4 - 15 minutes.
There is nothing suspicious in the geoserver log, tomcat.log, apache or the
event viewer.

The screenshot of the visualvm shows a busy server but also a large portion
of the heap unused.
I wouldn't call this a server that is stressed.


Java VisualVM screenshot
http://services.land.vic.gov.au/memory_20130318.jpg  

Because the tiles are cut from ecw there are a lot of components involved.
Where could I find an indicator of what makes the JVM collapse?

Cheers

Christian



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/when-cutting-tiles-the-JVM-goes-up-in-smoke-tp5041005.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] JVM goes up in smoke

2013-03-18 Thread cmaul
Hello,

Geoserver is 2.25
Apache 2.2.21
Tomcat 7.0.27
GDAL 1.9.2
ECW SDK 4.3
Visual C++ 2010 redistributables.

Windows2008R2 virtual machine with 32GB RAM.

When cutting tiles the Java Vm disappears without a trace after happily
working between 4 - 15 minutes.
There is nothing suspicious in the geoserver log, tomcat.log, apache or the
event viewer.

The screenshot of the visualvm shows a busy server but also a large portion
of the heap unused.
I wouldn't call this a server that is stressed.


Java VisualVM screenshot
http://services.land.vic.gov.au/memory_20130318.jpg  

Because the tiles are cut from ecw there are a lot of components involved.
Where could I find an indicator of what it is that's making the JVM
collapse?

Cheers

Christian 



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/JVM-goes-up-in-smoke-tp5041006.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tomcat or Jetty?

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 7:09 AM, Alex Mandel tech_...@wildintellect.comwrote:

 That seems kinda silly, is it non-trivial to ship a newer version? Seems
 like 6.1.x series is still common (6.1.24 on ubuntu 12.04), which I
 would guess is just fixes.


It would be silly if we had plenty of time available. However, the
situation is exactly
the opposite, the work is distributed over relatively few people (90% of
the work is
actually done by  10 people) and there is a lot to do
(e.g in jira.codehaus.org we have 1093 open tickets... not all bugs, not
all valid,
but still...).

Given the situation, one works based on priorities, which during the week
pretty
much means paid work first (or, if you have plenty, paid work only),
and during the spare time, for those that still work on it, well... that
has a meaning
varying by person, for example in my case it's try to help people
contributing changes to GeoServer/GeoTools,
so, review patches/pull requests, provide indications on how to fix them
for contribution,
amend myself the ones that went cold, and occasionally fixing some critical
bug
or providing some bit of new functionality.

So, in the best open source spirit, all I can say is patches welcomed :-p
(and oh, yes, you can also open a improvement request ticket type at
jira.codehaus.org
asking for an upgrade)

Cheers
Andrea



 Thanks,
 Alex



 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

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

---
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Hi list, 

i read specification for WFS 1.1.0 on
http://www.opengeospatial.org/standards/wfs. In this document is written ,
that we can set aliases for typenames. 

So i tried it, but with no success. 

My URL: 
http://srvemis01:/geoserver/wfs?service=WFSrequest=GetFeatureversion=1.1.0typeName=emis:T_GM_KRAJ_SPA=Afilter=ogc:Filter
xmlns:ogc='http://www.opengis.net/ogc'ogc:PropertyIsLike wildCard='*'
singleChar='.'
escape='!'ogc:PropertyNameA.NAZOV_KU/ogc:PropertyNameogc:Literalpre*/ogc:Literal/ogc:PropertyIsLike/ogc:Filter

Response is:  Feature type emis:T_GM_KRAJ_SPA=A unknown

With apostrophes URL:
http://srvemis01:/geoserver/wfs?service=WFSrequest=GetFeatureversion=1.1.0typeName='emis:T_GM_KRAJ_SPA=A'filter=ogc:Filter
xmlns:ogc='http://www.opengis.net/ogc'ogc:PropertyIsLike wildCard='*'
singleChar='.'
escape='!'ogc:PropertyNameA.NAZOV_KU/ogc:PropertyNameogc:Literalpre*/ogc:Literal/ogc:PropertyIsLike/ogc:Filter

gave this response: Unknown namespace ['emis] 

Can someone help me to solve that problem ? 

Best regards



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Filter-aliases-tp5041017.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter aliases

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 9:34 AM, gabriel gpetri...@gmail.com wrote:

 Hi list,

 i read specification for WFS 1.1.0 on
 http://www.opengeospatial.org/standards/wfs. In this document is written ,
 that we can set aliases for typenames.

 So i tried it, but with no success.

 My URL:

 http://srvemis01:/geoserver/wfs?service=WFSrequest=GetFeatureversion=1.1.0typeName=emis:T_GM_KRAJ_SPA=Afilter=
 ogc:Filter
 xmlns:ogc='http://www.opengis.net/ogc'ogc:PropertyIsLike wildCard='*'
 singleChar='.'

 escape='!'ogc:PropertyNameA.NAZOV_KU/ogc:PropertyNameogc:Literalpre*/ogc:Literal/ogc:PropertyIsLike/ogc:Filter

 Response is:  Feature type emis:T_GM_KRAJ_SPA=A unknown

 With apostrophes URL:

 http://srvemis01:/geoserver/wfs?service=WFSrequest=GetFeatureversion=1.1.0typeName='emis:T_GM_KRAJ_SPA=A'filter=
 ogc:Filter
 xmlns:ogc='http://www.opengis.net/ogc'ogc:PropertyIsLike wildCard='*'
 singleChar='.'

 escape='!'ogc:PropertyNameA.NAZOV_KU/ogc:PropertyNameogc:Literalpre*/ogc:Literal/ogc:PropertyIsLike/ogc:Filter

 gave this response: Unknown namespace ['emis]

 Can someone help me to solve that problem ?


Aliases are meant to be used in joins, but GeoServer WFS 1.1 does not
support the joining and as such
does not support aliases either.
I believe both joining and aliases are supported for WFS 2.0 though

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

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

---
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
So it is not possible to make join of two typenames using geoserver 2.2.4
this time. Exist any other solution to achieve this ?



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Filter-aliases-tp5041017p5041023.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter aliases

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 10:01 AM, gabriel gpetri...@gmail.com wrote:

 So it is not possible to make join of two typenames using geoserver 2.2.4
 this time. Exist any other solution to achieve this ?


It is possible if you use WFS 2.0.
WFS 1.1 joining was not well defined, I remember discussing it with other
OSGeo folks and I seem to remember it was impossible to make it and write
an output document that is also schema compliant with the WFS spec.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

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

---
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] JVM goes up in smoke

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 7:34 AM, cmaul christian.m...@dse.vic.gov.auwrote:


 Because the tiles are cut from ecw there are a lot of components involved.
 Where could I find an indicator of what it is that's making the JVM
 collapse?


Welcome to the wondering world of native code integration... a minor glitch
in GDAL or the ECW is enough to take down the entire JVM, there is no
protection against SEGFAULT errors in native code.

That said, I'm not sure how to help... maybe it's the specific ECW version,
I believe GDAL is supposed to be built against version 3.x... but I also may
be quite off the mark.

On the bright side GDAL is working on a plan to have these readers work
in a separate process, in order to proctect itself from such catastrophic
failures.
But I don't know if/when that will be available, you might want to check on
the
GDAL mailing list.

Cheers
Andre

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

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

---
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Ok, so i tried wfs version 2.0.0. Im using Geoserver 2.2.4. 

On this request
http://srvemis01:/geoserver/emis/wfs?service=WFSrequest=getfeatureversion=1.1.0typename=emis:T_GM_KRAJ_SPA

i've got response, but when i tried with version 2.0.0 i've got 502 http
error. 




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Filter-aliases-tp5041017p5041039.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer CAS: redirect only when needed

2013-03-18 Thread Erik-Jan Vos
Hi all,

I am trying to get a default installation up and running with GeoServer 
2.3-RC1 and a CAS server, as an experiment and demonstration.

To achieve this I added cas-client-core-3.2.1.jar, 
spring-security-cas-3.1.0.RELEASE.jar, and sec-cas-2.3-RC1.jar to my 
install, configured a CAS Auth filter, and configured 
geoserver_data/security/config.xml as shown below. I also had to add all 
intermediate certificates for our CAS server's HTTP-SSL certificate to 
the Ubuntu keystore.

===
filters name=web class=org.geoserver.security.HtmlLoginFilterChain 
interceptorName=interceptor exceptionTranslationName=exception 
path=/web/**,/gwc/rest/web/** disabled=false 
allowSessionCreation=true ssl=false matchHTTPMethod=false
   filterrememberme/filter
   filtercas/filter
   !--
 filteranonymous/filter
   --
/filters
!--
   filters name=webLogin 
class=org.geoserver.security.ConstantFilterChain 
path=/j_spring_security_check,/j_spring_security_check/ 
disabled=false allowSessionCreation=true ssl=false 
matchHTTPMethod=false
 filterform/filter
   /filters
--
===

For the web UI, I had to remove the anonymous filter, otherwise there 
was no way to trigger the CAS redirect. I also deleted the webLogin 
chain, to prevent the original login form from showing up. After this, 
things work great!

So, I was wondering if there was a way to keep the anonymous access 
filter, so people can still access the Layer Preview page. I want the 
CAS redirect to only take place when accessing a protected resource 
(like Server Status), or when explicitly clicking Login.

I know I can override the HTML template of the Login button, by cloning 
the base page to 
WEB-INF/classes/org/geoserver/web/GeoServerBasePage.html. I can remove 
the original Username and Password fields, and change the action 
parameter of the form.

Only where should I point it? Just accessing /j_spring_security_check 
has no effect. Ideally, I need something that takes care of storing the 
original requested URL in the session, do the CAS redirect, and on 
success, redirect the user back again.

Does such a thing already exist and am I overcomplicating things, or 
should I code it myself? I'll add a pull request in the latter situation.

My thanks to Christian Mueller for his help so far, and for his hard 
work regarding integration of CAS support in GeoServer. Again, great work!

Erik-Jan Vos

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] App-Schema plugin, mapping the Address model of INSPIRE

2013-03-18 Thread Rini.Angreani
Hi Julián,

Like Ben said ValueReference is not yet supported with app-schema (although 
this may change soon if IGN work gets committed). 
This would explain why your filter results return the wrong results with 
property files.

GetFeature: asking for an AdminUnitName that is situatedwithin the 
AdminUnitName which name is 'Castilla y León'


http://localhost:8080/geoserver/wfs?SERVICE=WFSVERSION=2.0.0REQUEST=GetFeatureTYPENAME=ad:AdminUnitNameFILTER=FilterPropertyIsEqualToValueReferencead:situatedWithin/ad:AdminUnitName/ad:name/gn:GeographicalName/gn:spelling/gn:SpellingOfName/gn:text/ValueReferenceLiteralCastilla
 y León/Literal/PropertyIsEqualTo/Filter


Response when the datastore is a properties file


wfs:FeatureCollection xmlns:wfs=http://www.opengis.net/wfs/2.0; 
xmlns:gn=urn:x-inspire:specification:gmlas:GeographicalNames:3.0 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns:base=urn:x-inspire:specification:gmlas:BaseTypes:3.2 
xmlns:gml=http://www.opengis.net/gml/3.2; 
xmlns:ad=urn:x-inspire:specification:gmlas:Addresses:3.0 
numberMatched=unknown numberReturned=1 timeStamp=2013-03-14T09:05:26.612Z 
xsi:schemaLocation=urn:x-inspire:specification:gmlas:Addresses:3.0 
http://inspire.ec.europa.eu/schemas/ad/3.0/Addresses.xsd 
http://www.opengis.net/gml/3.2 http://schemas.opengis.net/gml/3.2.1/gml.xsd 
http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd;
wfs:member
ad:AdminUnitName gml:id=AUN_PRO_4000
ad:inspireId
base:Identifier
base:localIdPRO_4000/base:localId
base:namespaceES.CNIG.CARTOCIUDAD/base:namespace
/base:Identifier
/ad:inspireId
ad:beginLifespanVersion2012-07-05T14:13:16Z/ad:beginLifespanVersion
ad:situatedWithin 
href=http://localhost:8080/geoserver/wfs?request=GetFeatureversion=2.0.0typeName=ad:AdminUnitNameFEATUREID=AUN_COM_07/
ad:name
gn:GeographicalName
gn:spelling
gn:SpellingOfName
gn:textSegovia/gn:text
/gn:SpellingOfName
/gn:spelling
/gn:GeographicalName
/ad:name
ad:level 
codeSpace=urn:x-inspire:specification:gmlas:AdministrativeUnits:3.0/AdministrativeHierarchyLevel3rdOrder/ad:level
/ad:AdminUnitName
/wfs:member
/wfs:FeatureCollection

The error with Oracle might be caused by a bug in 2.2.1 version. Try the latest 
2.3 instead. Also I noticed you're not using joining.
Turning joining on will improve performance if you have a large dataset 
(although it won't have much impact if you're only using up to 100 features for 
testing). More info: 
http://gridlock.opengeo.org/geoserver/2.3.x/doc/en/user/data/app-schema/joining.html#configuration


Cheers
Rini



-Original Message-
From: Caradoc-Davies, Ben (CESRE, Kensington) 
Sent: Monday, 18 March 2013 1:24 PM
To: Julián González
Cc: geoserver-users@lists.sourceforge.net; Angreani, Rini (CESRE, Kensington)
Subject: Re: [Geoserver-users] App-Schema plugin, mapping the Address model of 
INSPIRE

Julián,

I had a look at your sample queries. app-schema does not support WFS
2.0.0 (the parts also in WFS 1.1.0 work by accident). In particular, app-schema 
does not yet support ValueReference. See here:
http://osgeo-org.1560.n6.nabble.com/Some-GeoServer-2-3-x-app-schema-GeoSciML-v3-GML-3-2-application-schema-tests-td5035802.html

I do not know why this appears to work for a property file. Rini?

I am aware of a proposal to improve WFS 2.0.0 support, but it is not yet 
underway.

Kind regards,
Ben.

On 14/03/13 18:17, Julián González wrote:
 Sorry for this late reply.

 I was out of the project for months and now I'm working on it again.

 I've made some test and I'm getting very confused.

 First of all I've simplified my schema, now I'm using only one feature 
 type from the INSPIRE Address Schema which is AdminUnitName that has a 
 self relationship called situatedwithin. I think that the names are 
 descriptive enough. More info on:
 http://inspire.jrc.ec.europa.eu/documents/Data_Specifications/INSPIRE_
 DataSpecification_AD_v3.0.1.pdf

 If the data store is a property file everything works fine, but if the 
 data store is an Oracle database nothing works fine.

 I've 'zipped', the geoserver data dir with the java property file, the 
 SQL script files to generate the table and populate it with the same 
 data contained in the property file, and the WFS queries that I'm 
 doing to the server to reproduce the errors. The log file in the 
 geoserver data dir contains the log generated by this process:

 1.- Start the tomcat service
 2.- Do three WFS GetFeature queries.
 3.- Stop the server
 Change the datastore to the Oracle Database
 4.- Start the tomcat service
 5.- Do three WFS GetFeature queries.
 6.- Stop the server

 The zip file can be dowloaded from: http://sdrv.ms/WpbxYW

 Could someone check what I'm doing bad?

 Thanks in advance.

 2012/11/26 Ben Caradoc-Davies ben.caradoc-dav...@csiro.au 
 

[Geoserver-users] supported SRS not displaying in layer metadata

2013-03-18 Thread John Callahan
I'm using GeoServer 2.3-RC1  on Windows.  I have a limited set (about 9 of
them) of supported SRS for my WMS service.  When I view my GetCap files,
they are listed under the Service-level metadata but not under the
Layer-level metadata.  For Layer-level supported SRS values, GetCap only
displays the native SRS (and CRS:84 in WMS 1.3.0)

Is there any way to get the supported SRS to be listed under the service
AND layer metadata sections in GetCaps?  Thanks.

- John


John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.calla...@udel.edu
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer CAS: redirect only when needed

2013-03-18 Thread Christian Mueller
Hi Erik-Jan

I fear your scenario is not covered by the current architecture. You would
need a CAS filter configuration where you can specify the redirect URL
explicitly.  At the moment, the CAS filter is calculating the redirect URL
dynamically from the incoming request. Maybe, you can open an improvement
request in the JIRA issue tracker.


If you want to demonstrate the filter, you can do the following:

- Start with the original filter configuration
- Add some users and roles (you can use the no password policy)
- Protect some layers using your roles, switch to catalog mode CHALLENGE.
- Configure your CAS filter
- Replace the basic auth filter with your CAS filter on the default chain
(last chain, pattern /**)
- Use your browser to connect to Geoserver, you are logged in as user
anonymous
- Click on layer preview
- No click on a protected layer and a CAS login should be triggered, after
successful login you should see the layer

Cheers
Chrstian





2013/3/18 Erik-Jan Vos erikjan@nelen-schuurmans.nl

 Hi all,

 I am trying to get a default installation up and running with GeoServer
 2.3-RC1 and a CAS server, as an experiment and demonstration.

 To achieve this I added cas-client-core-3.2.1.jar,
 spring-security-cas-3.1.0.RELEASE.jar, and sec-cas-2.3-RC1.jar to my
 install, configured a CAS Auth filter, and configured
 geoserver_data/security/config.xml as shown below. I also had to add all
 intermediate certificates for our CAS server's HTTP-SSL certificate to
 the Ubuntu keystore.

 ===
 filters name=web class=org.geoserver.security.HtmlLoginFilterChain
 interceptorName=interceptor exceptionTranslationName=exception
 path=/web/**,/gwc/rest/web/** disabled=false
 allowSessionCreation=true ssl=false matchHTTPMethod=false
filterrememberme/filter
filtercas/filter
!--
  filteranonymous/filter
--
 /filters
 !--
filters name=webLogin
 class=org.geoserver.security.ConstantFilterChain
 path=/j_spring_security_check,/j_spring_security_check/
 disabled=false allowSessionCreation=true ssl=false
 matchHTTPMethod=false
  filterform/filter
/filters
 --
 ===

 For the web UI, I had to remove the anonymous filter, otherwise there
 was no way to trigger the CAS redirect. I also deleted the webLogin
 chain, to prevent the original login form from showing up. After this,
 things work great!

 So, I was wondering if there was a way to keep the anonymous access
 filter, so people can still access the Layer Preview page. I want the
 CAS redirect to only take place when accessing a protected resource
 (like Server Status), or when explicitly clicking Login.

 I know I can override the HTML template of the Login button, by cloning
 the base page to
 WEB-INF/classes/org/geoserver/web/GeoServerBasePage.html. I can remove
 the original Username and Password fields, and change the action
 parameter of the form.

 Only where should I point it? Just accessing /j_spring_security_check
 has no effect. Ideally, I need something that takes care of storing the
 original requested URL in the session, do the CAS redirect, and on
 success, redirect the user back again.

 Does such a thing already exist and am I overcomplicating things, or
 should I code it myself? I'll add a pull request in the latter situation.

 My thanks to Christian Mueller for his help so far, and for his hard
 work regarding integration of CAS support in GeoServer. Again, great work!

 Erik-Jan Vos


 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] supported SRS not displaying in layer metadata

2013-03-18 Thread Andrea Aime
On Mon, Mar 18, 2013 at 2:41 PM, John Callahan john.calla...@udel.eduwrote:

 I'm using GeoServer 2.3-RC1  on Windows.  I have a limited set (about 9 of
 them) of supported SRS for my WMS service.  When I view my GetCap files,
 they are listed under the Service-level metadata but not under the
 Layer-level metadata.  For Layer-level supported SRS values, GetCap only
 displays the native SRS (and CRS:84 in WMS 1.3.0)

 Is there any way to get the supported SRS to be listed under the service
 AND layer metadata sections in GetCaps?  Thanks.


Nope, as it would not make sense... the tree structure of the WMS
capabilities document is setup so that all
attributes of the parent layers are inherited by the children, to avoid
duplication (so, it's not just containment,
it's really also about attribute inheritance).
While repeating the list of SRS is not formally wrong, it's just a waste of
space (assuming the WMS client
reading the doc is compliant, that is).

I think there is a flag to enable the generation of the BBOX in all
supported srs though

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

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

---
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Filter aliases

2013-03-18 Thread gabriel
Ok, so problem was in Geoserver version. Im using now 2.3.0 version of
geoserver and all works fine. 

My url request looks like 
http://localhost:8080/geoserver/wfs?service=WFSrequest=getfeatureversion=2.0.0*typenames=(tp1)(tp2)**aliases=(A)(B)*filter=*(*FilterPropertyIsLike
wildCard='*' singleChar='.'
escape='!'PropertyName*A/attribute*/PropertyNameLiteralvalue*/Literal/PropertyIsLike/Filter)(FilterPropertyIsLike
wildCard='*' singleChar='.'
escape='!'PropertyName*B/attribute*/PropertyNameLiteralvalue*/Literal/PropertyIsLike/Filter*)*



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Filter-aliases-tp5041017p5041105.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] JVM goes up in smoke

2013-03-18 Thread Brad Bode
I have the same exact issue, which I can duplicate every time. I am working on 
posting the information I have gained. But the short answer is that I am using 
Windows R2 on a VM, tomcat, apache, and GeoServer.
 


Brad A. Bode 
Principal 
Software Systems
Foundry Engineering



 From: cmaul christian.m...@dse.vic.gov.au
To: geoserver-users@lists.sourceforge.net 
Sent: Sunday, March 17, 2013 11:34 PM
Subject: [Geoserver-users] JVM goes up in smoke
 
Hello,

Geoserver is 2.25
Apache 2.2.21
Tomcat 7.0.27
GDAL 1.9.2
ECW SDK 4.3
Visual C++ 2010 redistributables.

Windows2008R2 virtual machine with 32GB RAM.

When cutting tiles the Java Vm disappears without a trace after happily
working between 4 - 15 minutes.
There is nothing suspicious in the geoserver log, tomcat.log, apache or the
event viewer.

The screenshot of the visualvm shows a busy server but also a large portion
of the heap unused.
I wouldn't call this a server that is stressed.


Java VisualVM screenshot
http://services.land.vic.gov.au/memory_20130318.jpg  

Because the tiles are cut from ecw there are a lot of components involved.
Where could I find an indicator of what it is that's making the JVM
collapse?

Cheers

Christian 



-


Dr Christian Maul
Project Manager

Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:        +61-3-8636 2325
Telefax:              +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/JVM-goes-up-in-smoke-tp5041006.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tomcat or Jetty?

2013-03-18 Thread Jonathan Moules
Thanks for the replies folks. Given I only anticipate 100-200 unique users
a day, I guess Jetty should be fine. Minimal configuration on our end and
we can swap to Tomcat later anyway.


Heading slightly off-topic with the newer-jetty stuff, but I downloaded the
latest Jetty 8 stable (8.1.10.v20130312) - it seems to be a drop in
replacement for Jetty 6. No special configuration required, just worked.

The only issue I've had to far is that it didn't like my jetty-web.xml
fix to allow POSTing large style layers. So I deleted that file and it
turns out that fix isn't even necessary with Jetty 8!

It may be confirmation bias, but Jetty 8 does seem faster, certainly the
admin interface is more responsive.


I appreciate your point Andrea about limited dev resources. On the other
hand GeoServer is shipping with a four year old web-server (an age on the
Internet) that has since received as best I can tell a considerable number
of security fixes just in the 6.x branch. Unfortunately most folks (myself
included) lack the technical aptitude to offer patches, so we rely on
the generosity of the developers in giving their time. For my part I try
and reciprocate with my QA skills by adding to your jira issue count. ;-)

I'll open an improvement request per your suggestion.

Thanks again,
Jonathan



On 18 March 2013 07:10, Andrea Aime andrea.a...@geo-solutions.it wrote:

 On Mon, Mar 18, 2013 at 7:09 AM, Alex Mandel 
 tech_...@wildintellect.comwrote:

 That seems kinda silly, is it non-trivial to ship a newer version? Seems
 like 6.1.x series is still common (6.1.24 on ubuntu 12.04), which I
 would guess is just fixes.


 It would be silly if we had plenty of time available. However, the
 situation is exactly
 the opposite, the work is distributed over relatively few people (90% of
 the work is
 actually done by  10 people) and there is a lot to do
 (e.g in jira.codehaus.org we have 1093 open tickets... not all bugs, not
 all valid,
 but still...).

 Given the situation, one works based on priorities, which during the week
 pretty
 much means paid work first (or, if you have plenty, paid work only),
 and during the spare time, for those that still work on it, well... that
 has a meaning
 varying by person, for example in my case it's try to help people
 contributing changes to GeoServer/GeoTools,
 so, review patches/pull requests, provide indications on how to fix them
 for contribution,
 amend myself the ones that went cold, and occasionally fixing some
 critical bug
 or providing some bit of new functionality.

 So, in the best open source spirit, all I can say is patches welcomed :-p
 (and oh, yes, you can also open a improvement request ticket type at
 jira.codehaus.org
 asking for an upgrade)

 Cheers
 Andrea



 Thanks,
 Alex



 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 --
 ==
 Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
 information.
 ==

 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

 ---


 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
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-users mailing list
Geoserver-users@lists.sourceforge.net

[Geoserver-users] Openlayers library

2013-03-18 Thread Khaoula MIMID
Hello List,
i downloaded openlayers, i am working with eclipse and i want to know where
to put the openlayers library.
*i am still a newbie in openlayers. will you please give me a step by step
answer*
Thank you.

-- 

_

Khaoula MIMID

Élève ingénieur - 3ème Sciences d'Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : *khaoula.mi...@gmail.com*

_

*
khaoula.mi...@gmail.com*
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Openlayers library

2013-03-18 Thread Jonathan Moules
You might want to post to the OpenLayers mailing list.
Alternately, google for OpenLayers Tutorial.

You'll want to place openlayers in your web directory. GeoServer includes a
copy.



On 18 March 2013 16:10, Khaoula MIMID khaoula.mi...@gmail.com wrote:

 Hello List,
 i downloaded openlayers, i am working with eclipse and i want to know
 where to put the openlayers library.
 *i am still a newbie in openlayers. will you please give me a step by
 step answer*
 Thank you.

 --

 
_

 Khaoula MIMID

 Élève ingénieur - 3ème Sciences d'Information Géographique

 Ecole Hassania des Travaux Publics
 Tél : (+212) 06 11 95 37 52
 E-mail : *khaoula.mi...@gmail.com*

 
_

 *
  khaoula.mi...@gmail.com*


 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us,  including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] supported SRS not displaying in layer metadata

2013-03-18 Thread John Callahan
Thank you for the explanation and clarification using GeoServer.  I was
trying to match a recommendation on including the supported SRS for each
layer.  I agree that the supported SRS list at the service level should be
sufficient.

- John


John Callahan
Research Scientist
Delaware Geological Survey
University of Delaware
http://www.dgs.udel.edu
john.calla...@udel.edu



On Mon, Mar 18, 2013 at 10:16 AM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 On Mon, Mar 18, 2013 at 2:41 PM, John Callahan john.calla...@udel.eduwrote:

 I'm using GeoServer 2.3-RC1  on Windows.  I have a limited set (about 9
 of them) of supported SRS for my WMS service.  When I view my GetCap files,
 they are listed under the Service-level metadata but not under the
 Layer-level metadata.  For Layer-level supported SRS values, GetCap only
 displays the native SRS (and CRS:84 in WMS 1.3.0)

 Is there any way to get the supported SRS to be listed under the service
 AND layer metadata sections in GetCaps?  Thanks.


 Nope, as it would not make sense... the tree structure of the WMS
 capabilities document is setup so that all
 attributes of the parent layers are inherited by the children, to avoid
 duplication (so, it's not just containment,
 it's really also about attribute inheritance).
 While repeating the list of SRS is not formally wrong, it's just a waste
 of space (assuming the WMS client
 reading the doc is compliant, that is).

 I think there is a flag to enable the generation of the BBOX in all
 supported srs though

 Cheers
 Andrea


 --
 ==
 Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
 information.
 ==

 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

 ---

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Openlayers library

2013-03-18 Thread Khaoula MIMID
i am sorry to bother you again
Is this the tutorial i need :
https://sites.google.com/site/freeandopensource007/tutorials/tutorial1


2013/3/18 Jonathan Moules jonathanmou...@warwickshire.gov.uk

 You might want to post to the OpenLayers mailing list.
 Alternately, google for OpenLayers Tutorial.

 You'll want to place openlayers in your web directory. GeoServer includes
 a copy.



 On 18 March 2013 16:10, Khaoula MIMID khaoula.mi...@gmail.com wrote:

 Hello List,
 i downloaded openlayers, i am working with eclipse and i want to know
 where to put the openlayers library.
 *i am still a newbie in openlayers. will you please give me a step by
 step answer*
 Thank you.

 --

 ___ __

 Khaoula MIMID

 Élève ingénieur - 3ème Sciences d'Information Géographique

 Ecole Hassania des Travaux Publics
 Tél : (+212) 06 11 95 37 52
 E-mail : *khaoula.mi...@gmail.com*

 __ ___

 *
  khaoula.mi...@gmail.com*


 --
 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-users mailing list
 Geoserver-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/geoserver-users




 This transmission is intended for the named addressee(s) only and may
 contain sensitive or protectively marked material up to RESTRICTED and
 should be handled accordingly. Unless you are the named addressee (or
 authorised to receive it for the addressee) you may not copy or use it, or
 disclose it to anyone else. If you have received this transmission in error
 please notify the sender immediately. All email traffic sent to or from us,
 including without limitation all GCSX traffic, may be subject to recording
 and/or monitoring in accordance with relevant legislation.




-- 

_

Khaoula MIMID

Élève ingénieur - 3ème Sciences d'Information Géographique

Ecole Hassania des Travaux Publics
Tél : (+212) 06 11 95 37 52
E-mail : *khaoula.mi...@gmail.com*

_

*
khaoula.mi...@gmail.com*
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Tomcat or Jetty?

2013-03-18 Thread Stefano Iacovella
2013/3/18 Jonathan Moules jonathanmou...@warwickshire.gov.uk:

 I appreciate your point Andrea about limited dev resources. On the other
 hand GeoServer is shipping with a four year old web-server (an age on the
 Internet) that has since received as best I can tell a considerable number
 of security fixes just in the 6.x branch. Unfortunately most folks (myself
 included) lack the technical aptitude to offer patches, so we rely on the
 generosity of the developers in giving their time. For my part I try and
 reciprocate with my QA skills by adding to your jira issue count. ;-)

 I'll open an improvement request per your suggestion.

Indeed GeoServer does not ship in one flavour, and jetty is just one
of the alternatives users can choose.
Adding my 2 cents to what Andrea already wrote I think that in the
trade off of spare time versus upgrading GeoServer installer including
jetty costs are higher than returns.
Most of the times you have to deploy web application, i.e. GeoServer,
on an application server someone else choose for you. And chances are
that you will have to work with JBoss or Tomcat

Stefano

---
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Openlayers library

2013-03-18 Thread Phil Scadden
In your web pages, you include Openlayers with
script src=path
Now that path can (and often is) a URL to a completely different site. 
Eg, you could link directly to Openlayers by making this
src =http://dev.openlayers.org/releases/OpenLayers-2.12/OpenLayers.js; 
and not have OL in your war at all.

However, I like to have control over what my JS my page is using, use 
custom build of OL etc. The simple approach is have OL as a subdirectory 
of your eclipse WebContent directory. You reference in your index.html 
in the same directory with src=OpenLayers/OpenLayers.js. A better 
approach though is have your javascript libraries in a completely 
separately project. That way you have multiple web projects using the 
same openlayers library and save yourself a maintenence nightmare. I 
have a project called JsLibrary in which I place OL (as subdirectory of 
WebContent) along with a other common JS library.  There isnt any need 
to package a war though you can do so. What you need to do is setup a 
JsLibrary context on the same http server. When done, you project then 
references OL through src=/JsLibrarp/OpenLayers/OpenLayers.js.

Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.


--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Geoserver 2.1.1 with postgis 2.0

2013-03-18 Thread Matteo Cusmai
Hi all,
i was using geoserver 2.1.1 with postgis 1.5 and every thing was ok.
Now i have updated my db server and postgis too, from 1.5 to 2.0.

I am trying to run the same layer, but i receive the following error:
Caused by: org.postgresql.util.PSQLException: ERROR: function
geomfromwkb(bytea) does not exist
  Hint: No function matches the given name and argument types. You might
need to add explicit type casts.


I have noticed that geoserver 2.1.1 use geomfromwkb(bytea) that is
deprecated in postgis 1.5 and therefore it has been deleted in postgis 2.0.

Is there some patch for geoserver 2.1.1, or do i have to upgrade geoserver
to 2.3 version?

Thanks in advance,
Matteo.
--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.1.1 with postgis 2.0

2013-03-18 Thread Rahkonen Jukka
Hi,

Run legacy.sql in PostGIS and you will get the old names for the functions 
back.

-Jukka Rahkonen-

Matteo Cusmai wrote:

 Hi all,
i was using geoserver 2.1.1 with postgis 1.5 and every thing was ok.
Now i have updated my db server and postgis too, from 1.5 to 2.0.

 I am trying to run the same layer, but i receive the following error:
Caused by: org.postgresql.util.PSQLException: ERROR: function 
geomfromwkb(bytea) does not exist
  Hint: No function matches the given name and argument types. You might need 
to add explicit type casts.


 I have noticed that geoserver 2.1.1 use geomfromwkb(bytea) that is deprecated 
 in postgis 1.5 and therefore it has been deleted in postgis 2.0.

 Is there some patch for geoserver 2.1.1, or do i have to upgrade geoserver to 
 2.3 version?

 Thanks in advance,
 Matteo.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.1.1 with postgis 2.0

2013-03-18 Thread Matteo Cusmai
Hi Jukka,
thanks a lot, it fixed my problem.
I was not able to find a solution by documentation.




On Mon, Mar 18, 2013 at 10:22 PM, Rahkonen Jukka
jukka.rahko...@mmmtike.fiwrote:

 Hi,

 Run legacy.sql in PostGIS and you will get the old names for the
 functions back.

 -Jukka Rahkonen-
 
 Matteo Cusmai wrote:

  Hi all,
 i was using geoserver 2.1.1 with postgis 1.5 and every thing was ok.
 Now i have updated my db server and postgis too, from 1.5 to 2.0.

  I am trying to run the same layer, but i receive the following error:
 Caused by: org.postgresql.util.PSQLException: ERROR: function
 geomfromwkb(bytea) does not exist
   Hint: No function matches the given name and argument types. You might
 need to add explicit type casts.


  I have noticed that geoserver 2.1.1 use geomfromwkb(bytea) that is
 deprecated in postgis 1.5 and therefore it has been deleted in postgis 2.0.

  Is there some patch for geoserver 2.1.1, or do i have to upgrade
 geoserver to 2.3 version?

  Thanks in advance,
  Matteo.

--
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-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users