[Geoserver-users] time series on raster data

2012-09-24 Thread Markus Innerebner
Hi 

I want to ask you a feasibility question on geoserver.

I want to make a time-series on raster data, in which it should be possible to 
specify a time interval as input parameter.

I tried to realize this using image-mosaic-jdbc, but yesterday after a 
discussion with the owner of this module he told me, that the functionality 
of doing a selection on raster relations with an additional attributes (e.g. 
timestamp attribute ) is not implemented.

Christian suggested me to use the image mosaic pyramid module for my issue, 
because there it should be possible to specify with a relation such a layer, 
and let the raster point to the file system. 
I realized, that about this module there is only available a small 
documentation in 
http://docs.geoserver.org/latest/en/user/data/raster/imagepyramid.html

1) Is it possible to realize my application in this way?
2) Can you give me some hints about this?

Because of the lack of information about this functionality I can also prepare 
- while creating this environment - a documentation about this, which maybe can 
be useful for other users.

thanks for you feedback

cheers
Markus


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Custom WPS

2012-09-24 Thread Andrea Aime
On Tue, Sep 25, 2012 at 1:12 AM, Ebrahim Poorazizi <
ebrahim.pooraz...@gmail.com> wrote:

> Hi List,
>
> Say, I already have a processing operation implemented in PHP or Python,
> so can I use that operation and connect it to the GeoServer WPS module? Or
> should I implement my own processing operation in Java using the
> instruction provided by GeoServer? Thanks in advance.
>
>
At the very least you have to implement a java wrapper around it,
which uses, for example, Runtime.exec to run the external executable:
http://www.rgagnon.com/javadetails/java-0014.html

Currently the GeoServer process API is very much geared towards the Java
programmer,
efforts are underway to integrate the scripting languages that can run
inside a JVM
(e.g, Jython, JRuby, Groovy and so on), it would be also nice to have a way
to run
external commands by mere configuration (writing a generic java wrapper to
support
it) but we're not there yet.

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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] geoserver 2.2 running out of memory

2012-09-24 Thread Andrea Aime
On Mon, Sep 24, 2012 at 11:12 PM, Gundel, Aaron wrote:

> Hello all,
>
> ** **
>
> Here’s the stack trace.  Looks like there’s some connection not being
> closed; here’s a stack trace with the approximate location and such…  Any
> way I can work around this?  Thanks!
>
> **
>

Two of the errors might be related with each other (the connection and
timeout ones), but might be
unrelated to the OOM one (or else, the OOM one might be causing the slow
drawing which in turn
causes the timeout, which in turn might cause the failure to close a
connection).

The OOM itself migth be either transient or persistent:
- transient: too many getmap requests working in parallel, maybe with no or
high per request memory
  limits, that bring the JVM to the OOM
- permanent: somewhere there is a memory leak that accumulates and reduces
the free memory to 0

Telling them apart is normally easy, the memory leak leaves you no other
choice but to kill
the java virtual machine and restart it, the other solves itself when the
request load goes down

Which one is yours?
If you determine it's a memory leak please use jmap -histo, as described
here:
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap
so that we can have a look at what is using the memory

Also, please provide details about your installation as suggested by the
user
posting guide:
http://geoserver.org/display/GEOS/GeoServer+user+list+posting+guidelines

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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] SLD drawing order

2012-09-24 Thread cmaul
Hi Christian,

Sorry for answering so late, it escaped me.
There was a difference in approach. Cheesybiscuits and Martin rightfully
pointed out what the standard allows for. However, my position was: ’you
need to find a sensible way to deal with your spatial infrastructure and
that might not include everything you can do’. So, theirs was a technical,
mine an organisational view.

Things get complicated by itself, as Martin demonstrated with his
road-casing example. So, I want to keep it as simple as possible. There are
cases where you cannot. But going back to your problem, there are a few
thoughts how I would approach things. If you write everything in one sld,
you have the advantage of a single source of truth, but the problem is that
you need to do regression testing in case something changes. If you change
the design for one layer, you must answer the question: does this
label/filter/pattern/whatever also work for the other layer it is applied
to? So, you may opt to separate them.

The simple length of a sld is a point of consideration for me as well.

The possible re-use by others is also a point of consideration for me.
Obviously this is easier if the style is simpler. Well, there is an offset,
the style has to be complicated enough to save you work, i.e. not trivial
and general enough to be applied with little re-work. So, it is about
balance. 

A very simple and similar problem to yours: We have a layer ‘bushfire prone
areas’, which was derived from a 10m grid and as a consequence is highly
complicated and slow to load. For that reason there is another generalised
layer from 50K upwards. The sld’s are called
SCHEMA_layername_authorShorthand_number.sld and in two files. The two layers
are called using a layergroup. Good about that is: there is only one layer
to test with one sld. Bad is: if I change the colour I must not forget the
other sld. There is also the issue of metadata. Both layers are an
expression of the same data, so there is only one metadata record, which is
connected to the layergroup and displayed. I don’t show the single layers.

The layer group cannot help you to select the ‘correct’ layer at a
particular scale, only the filter (in the sld) can do that. If you have one
or more attributes you can use for filtering (in my case road_type and
road_classes come to mind --
http://docs.geoserver.org/stable/en/user/styling/sld-reference/filters.html
http://www.opengeospatial.org/standards/filter ) then use it or them to chop
up your dataset and if there is none, it may be sensible to create a
variable. Filters and their syntax are worth knowing because even if you do
not use them in SLDs, you will use them in WFS. I love Martin’s example with
the variable, haven’t tried that.
Layergroups, however, can encapsulate the logic, which different layers or
parts of the same layer are assembled as a spatial feature class that you
want as and is shown as one unit. That includes, which layers are on top of
the others.

Whatever you choose to do, follow it through and spend some time and think
about naming conventions of your layers, slds and groups or use something
like svn to administer your slds and versions of them.   

With these things there is no right or wrong. It seems I am for the simple
things, you are not. If you’re (unlike me) highly organised then go for the
complicated structures. That is the beauty of Geoserver that it gives you
the choice. However, you do not want to sit in front of your own work when
revisiting stuff thinking: ‘what the hell did I think, when I did this and
why did I do it this way?’

I think, that is a position ‘cheesybiscuits’ and Martin can wholeheartedly
agree to.

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/SLD-drawing-order-tp4948595p5004147.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] EPSG:404000 Stores

2012-09-24 Thread Ronak Patel
Has anyone ever tried this new feature?
It doesn't seem like it??



 From: Ronak Patel 
To: Ronak Patel ; "geoserver-users@lists.sourceforge.net" 
 
Sent: Saturday, September 22, 2012 2:14 PM
Subject: Re: [Geoserver-users] EPSG:404000 Stores
 

Hi,

Can anyone please help me with this issue?
This is a blocking issue for me.

Thanks,

Ronak Patel



 From: Ronak Patel 
To: Ronak Patel ; "geoserver-users@lists.sourceforge.net" 
 
Sent: Tuesday, September 18, 2012 4:51 PM
Subject: Re: [Geoserver-users] EPSG:404000 Stores
 

Something else I'm also wondering.
Instead of having a dumb PNG. Is it possible for me to have Pyramid TIFFs in 
EPSG:404000?



 From: Ronak Patel 
To: "geoserver-users@lists.sourceforge.net" 
 
Sent: Tuesday, September 18, 2012 11:00 AM
Subject: Re: [Geoserver-users] EPSG:404000 Stores
 

I remember I had this working in the past. But I believe it worked because I 
didn't specify a .prj file with the WorldImage file.
Why would this not work if I specify a .prj file?

Another question I had was that I noticed that the bounds aren't always 
positive. Why would the bounds of a dumb png or jpg ever be negative?



 From: Ronak Patel 
To: "geoserver-users@lists.sourceforge.net" 
 
Sent: Sunday, September 16, 2012 1:31 PM
Subject: [Geoserver-users] EPSG:404000 Stores
 

Hi,

So I uploaded several WorldImage files which contain Zipped PNG, PGW and PRJ 
file. The coordinate system is EPSG:404000.

When I try to create layers for each of these images; I get the following error:

Could not list layers for this store, an error occurred retrieving them: No 
transformation available from system "EngineeringCRS[Wildcard 2D cartesian 
plane in metric unit]" to "GeographicCRS[WGS84(DD)]".


What do I do?

Ronak
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Custom WPS

2012-09-24 Thread Ebrahim Poorazizi
Hi List,

Say, I already have a processing operation implemented in PHP or Python, so
can I use that operation and connect it to the GeoServer WPS module? Or
should I implement my own processing operation in Java using the
instruction provided by GeoServer? Thanks in advance.

Regards,
Ebrahim
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Why do these two URL produce different images? I think they should be identical.

2012-09-24 Thread Phil Scadden
These URLs are on a public geoserver.

This one opens directly in the browser.
http://maps.gns.cri.nz/geoserver/wms?LAYERS=gns%3APETROLEUM.IWI_BOUNDARIES&FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=18785164.06875,-4642705.18625,19411336.204375,-4016533.050625&WIDTH=256&HEIGHT=256
 


This one is identical except for the TILED=TRUE (so goes to GWC which is 
on, with WMS integration). The tile origin parameter makes no difference 
whether present or not. Also oddly, the returned header is such that the 
browser wants to save to file.
http://maps.gns.cri.nz/geoserver/wms?LAYERS=gns%3APETROLEUM.IWI_BOUNDARIES&FORMAT=image%2Fpng&TILED=TRUE&TILESORIGIN=-20037508.34%2C-20037508.34&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A900913&BBOX=18785164.06875,-4642705.18625,19411336.204375,-4016533.050625&WIDTH=256&HEIGHT=256

This is some odd going with OpenLayers as well, but it is hard to figure 
out until I can understand why geoserver returns different images. I 
would expect them to be identical.

-- 
Phil Scadden, GNS Science Ltd 764 Cumberland St, Private Bag 1930, 
Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

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.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] GeoServer 2.2 with shared data directory

2012-09-24 Thread Justin Deoliveira
On Mon, Sep 24, 2012 at 12:46 PM, James Beaudoin wrote:

> Hello Everyone,
>
> I was wondering if there has been any changes to getting Geoserver 2.2
> running with a shared data directory. In past versions of Geoserver
> (2.1.4) I had to disable GWC with this:
>
> wrapper.java.additional.6=-DGWC_DISKQUOTA_DISABLED=true
> wrapper.java.additional.7-DGWC_METASTORE_DISABLED=true
>
> In Geoserver 2.2 I am just getting the message No 'workspaces' directory
> found, unable to load any stores. I have the port 8080 open and can
> connect to the shared data directory from that machine.
>
This sounds like GeoServer isn't actually pointing at a data directory.. or
at least not one with a workspaces folder in it. Can you verify? Also where
do you get this message? In the log? Or in an error message?

>
> Any suggestions?
>
> Thanks,
>
> Jim
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] GeoServer 2.2 with shared data directory

2012-09-24 Thread James Beaudoin
Hello Everyone,

I was wondering if there has been any changes to getting Geoserver 2.2 
running with a shared data directory. In past versions of Geoserver 
(2.1.4) I had to disable GWC with this:

wrapper.java.additional.6=-DGWC_DISKQUOTA_DISABLED=true
wrapper.java.additional.7-DGWC_METASTORE_DISABLED=true

In Geoserver 2.2 I am just getting the message No 'workspaces' directory 
found, unable to load any stores. I have the port 8080 open and can 
connect to the shared data directory from that machine.

Any suggestions?

Thanks,

Jim

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WMS/SLD Pixelated Font

2012-09-24 Thread Andrea Aime
On Wed, Sep 19, 2012 at 10:37 PM, Linde  wrote:

> Edward,
>
> thanks for the hint. The admin interface raises the count of available
> fonts up to 60 after installing oracle java and i picked the names of
> the fonts from this list. But i have to inspect things this direction:
> All drawn font samples in this admin GUI show more or less the same
> "sans serif"-font type. With your hint I guess there is a gap between
> system fonts and what Geoserver think about the available fonts.
>
> On the other side I were satisfied with the font rendering when using
> WMS labeling without transparency. It seems the WMS layer rendered
> with transparency makes this difference on my setting.
>
>
Are you by any chance using a GeoServer 2.1.x series and asking for PNG8
output?

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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] WPS chaining problem

2012-09-24 Thread Andrea Aime
On Mon, Sep 24, 2012 at 4:33 PM, m.saber  wrote:

> **
>
> Hi
>
> I am using geoserver WPS to chain sample processes of geoserver,
>
> but I can't access data from wfs or wcs in a wps process,
>
> when executing a request it says only *Loading.*
>
> When you are accessing the local wfs/wcs please use the custom
url to access the internal ones, http://geoserver/wfs and
http://geoserver/wcs

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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Hole in the middle

2012-09-24 Thread Andrea Aime
On Mon, Sep 24, 2012 at 2:57 PM, Tom (JDi Solutions) <
tom.d...@jdi-solutions.co.uk> wrote:

> Hi all,
>
> When making a tiled WMS request to geoserver using a polygon specified in
> XML if there is a tile which is wholly contained within the polygon no
> styling is applied.  You can see the effect in the screenshot below and the
> request we're sending for the middle tile is listed below too.
>
> Is there any way to fix this with parameters in the XML?
>
>
Odd, what version of GeoServer are you using? If it's a recent one, 2.2.x
or 2.1.x,
can you attach data, style and request to reproduce the problem?

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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Geoserver 2.2 installation failure

2012-09-24 Thread Andrea Aime
On Mon, Sep 24, 2012 at 3:37 PM, David Winslow  wrote:

>  Strange, it seems to be trying to read 'catalog.xml' as a style
> configuration.  Could you review your data directory and make sure it
> follows the expected structure?
>
> Also, I think catalog.xml is an older (no longer used) configuration file
> - are you trying to upgrade directly from an older installation of
> GeoServer?  If you're going from 1.7.x to 2.2 it might work better to
> upgrade to 2.0, 2.1, then 2.2.0 than to try to do it in one step.
>
>
There is also this exception:

Caused by: org.jasypt.exceptions.EncryptionOperationNotPossibleException

at
org.jasypt.encryption.pbe.StandardPBEByteEncryptor.decrypt(StandardPBEByteEncryptor.java:981)


at
org.jasypt.encryption.pbe.StandardPBEStringEncryptor.decrypt(StandardPBEStringEncryptor.java:717)


at
org.geoserver.security.password.GeoServerPBEPasswordEncoder.decode(GeoServerPBEPasswordEncoder.java:176)


at
org.geoserver.security.password.ConfigurationPasswordEncryptionHelper.decode(ConfigurationPasswordEncryptionHelper.java:173)


at
org.geoserver.security.password.ConfigurationPasswordEncryptionHelper.decode(ConfigurationPasswordEncryptionHelper.java:153)


at
org.geoserver.config.util.XStreamPersister$StoreInfoConverter.doUnmarshal(XStreamPersister.java:1414)


Hum.. de-cryption issue? Maybe something was not migrated properly.

I agree that if you are trying to jump from 1.7.x to 2.2.x there might be
hiccups


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

---
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Which Restplugin download is compatible with geoserver 2.2. stable?

2012-09-24 Thread Robert Buckley
Thanksjust realized this by looking in WEB-INF/lib


thanks,

Robert



 Von: David Winslow 
An: geoserver-users@lists.sourceforge.net 
Gesendet: 15:29 Montag, 24.September 2012
Betreff: Re: [Geoserver-users] Which Restplugin download is compatible with 
geoserver 2.2. stable?
 

The GeoServer REST API and the "rest" module that provides support for other 
rest-based extensions are both included in GeoServer since the 2.1.x series.  
You don't need to install anything extra in GeoServer to use them.

--
David Winslow
OpenGeo - http://opengeo.org/

On 09/24/2012 08:54 AM, Robert Buckley wrote:

HI,
>
>
>Which Restplugin download is compatible with geoserver 2.2. stable?
>
>
>Can´t find a link on the stable release page...the last release seems to be 
>2.0.2is this still upwards compatible?
>
>
>cheers,
>
>
>Rob
>
>
>--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>
>___
Geoserver-users mailing list Geoserver-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/geoserver-users 
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WPS chaining problem

2012-09-24 Thread m.saber
 

Hi 

I am using geoserver WPS to chain sample processes of
geoserver, 

but I can't access data from wfs or wcs in a wps process,


when executing a request it says only _LOADING._ 

My
request is something like below (by WPS request builder)


http://www.w3.org/2001/XMLSchema-instance";
xmlns="http://www.opengis.net/wps/1.0.0";
xmlns:wfs="http://www.opengis.net/wfs";
xmlns:wps="http://www.opengis.net/wps/1.0.0";
xmlns:ows="http://www.opengis.net/ows/1.1";
xmlns:gml="http://www.opengis.net/gml";
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:wcs="http://www.opengis.net/wcs/1.1.1";
xmlns:xlink="http://www.w3.org/1999/xlink";
xsi:schemaLocation="http://www.opengis.net/wps/1.0.0
http://schemas.opengis.net/wps/1.0.0/wpsAll.xsd";>

JTS:buffer
 


 geom
 http://localhost:8080/geoserver/sf/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=sf:roads&maxFeatures=50&outputFormat=text/xml;%20subtype=gml/3.1.1";
method="GET"/>
 
 

distance
 

10
 
 


 
 

result
 




I apology for my bad english
writing.

 --
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Which Restplugin download is compatible with geoserver 2.2. stable?

2012-09-24 Thread David Winslow
The GeoServer REST API and the "rest" module that provides support for 
other rest-based extensions are both included in GeoServer since the 
2.1.x series.  You don't need to install anything extra in GeoServer to 
use them.


--
David Winslow
OpenGeo - http://opengeo.org/

On 09/24/2012 08:54 AM, Robert Buckley wrote:

HI,

Which Restplugin download is compatible with geoserver 2.2. stable?

Can´t find a link on the stable release page...the last release seems 
to be 2.0.2is this still upwards compatible?


cheers,

Rob


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Dublicated labels along a line

2012-09-24 Thread Jakob Lanstorp
I get duplicated labels on lines, I would like just to get the default one 
label for one line. Why do I get more than one label for a line when default is 
supposed to be just one?

The doc says:

The repeat option determines how often GeoServer labels a line. Normally 
GeoServer would label each line only once, regardless of their length. Specify 
a positive value to make it draw the label every repeat pixels.
100

But I am not using the repeat option.

Using GeoServer 2.4.1

My SLD:


http://www.opengis.net/sld"; 
xmlns:ogc="http://www.opengis.net/ogc";
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/sld 
http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
  
Arwos drikkevand maalsaetning

  1 px black line
  Styles polyline with label
  


  2000
  

  #00

  
  

  LENGDE


  

  10

  


  #00

  


  

  


[cid:image002.png@01CD9A63.2AA74EE0]

Venlig hilsen / Best Regards

Jakob Lanstorp
IT-konsulent
GIS & IT

COWI A/S
Visionsvej 53
9000 Alborg C
Denmark

Direct: (+45) 99 36 79 50
Mobile: (+45) 40 20 75 29
Mail: j...@cowi.dk
www.cowi.dk/gis

[cid:image001.jpg@01CD9A62.4C32E9D0]

<><>--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Which Restplugin download is compatible with geoserver 2.2. stable?

2012-09-24 Thread Robert Buckley
HI,

Which Restplugin download is compatible with geoserver 2.2. stable?


Can´t find a link on the stable release page...the last release seems to be 
2.0.2is this still upwards compatible?

cheers,

Rob--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] FTL can't access "features?size" in Geoserver 2.2

2012-09-24 Thread Rubén Illana
Hi everyone,

we are updating our deploys to new Geoserver 2.2 and we are having some
issues with FTL files and GetfeatureInfo requests.

The java exception we get is:

*java.io.IOException: Error occured processing content template content.ftl
> for org.geoserver.wms.MapLayerInfo@1cd3522a Error occured processing
> content template content.ftl for 
> org.geoserver.wms.MapLayerInfo@1cd3522aExpected extended-hash or sequence. 
> features evaluated instead to
> org.geoserver.template.DirectTemplateFeatureCollectionFactory$TemplateFeatureCollection
> on line 1, column 21 in content.ftl. *
>


 in line:*
*

> *<#assign longitud = features?size>*
>


Once we split the list with

*<#list features as feature*>
>


there's no problem to access to feature element.


Is there any change about features object in Geoserver 2.2? We have tried
to change freemarker-2.3.18.jar to other versions (2.3.19 and 2.3.13) but
we've got the same result.


Any help will be appreciated, thanks in advance.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Should JAVA_OPTS appear in my printev output?

2012-09-24 Thread Robert Buckley


JAVA_OPTS are defined in all of these files

 /etc/init.d/tomcat6
 /etc/default/tomcat6

 /usr/share/tomcat6/bin/catalina.sh



The output of ps auxw | grep catalina shows...



tomcat6  20351  172  2.5 2229764 157500 ?      
Sl   12:04   0:13 
/usr/lib/jvm/java-6-sun/bin/java 
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties 
-server 
-Xms2048M 
-Xms2048m 
-XX:SoftRefLRUPolicyMSPerMB=36000 
-XX:PermSize=1024m 
-XX:MaxPermSize=1024m 
-XX:+UseParallelGC 
-Xms256m 
-Xmx1024m 
-XX:MaxPermSize=384m 
-Xss128k 
-Djava.awt.headless=true 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-DGEOSERVER_DATA_DIR=/home/geoadmin1/data 
-Djava.endorsed.dirs=/usr/share/tomcat6/endorsed 
-classpath /usr/share/tomcat6/bin/bootstrap.jar 
-Dcatalina.base=/var/lib/tomcat6 
-Dcatalina.home=/usr/share/tomcat6 
-Djava.io.tmpdir=/tmp/tomcat6-tmp org.apache.catalina.startup.Bootstrap start

1003     20368  0.0  0.0   3252   772 pts/0    R+   12:04   0:00 grep 
--color=auto catalina

Can anyone tell me if these values are acceptable?

cheers,

Robert







 Von: Gavin Stilgoe 
An: Robert Buckley  
Gesendet: 11:54 Montag, 24.September 2012
Betreff: Re: [Geoserver-users] Should JAVA_OPTS appear in my printev output?
 

normaly all environmental variables  get set in a file   setenv.sh  or 
setenv.bat. leave  startup an catalina as supllied easier to update
On Sep 24, 2012 7:51 PM, "Robert Buckley"  wrote:

Going a bit deeper into the subject of defining JAVA variables in Tomcat6 on 
ubuntu, I have found that there are 3 files where my JAVA_OPTS have been 
defined...
>
>
>
>
>1. /etc/init.d/tomcat6
>
>
>2 /etc/default/tomcat6. 
>
>
>3. /usr/share/tomcat6/bin/catalina.sh
>
>
>The output of  ps auxw | grep catalina outputs two different values of 
>JAVA_OPTS. I am assuming that the last one printed is the one which will be 
>appliedhowever this is a guess.
>
>
>
>
>If anyone knows how to get this set properly, please let me know,
>
>
>Thanks,
>Rob
>
>
>
>
> Von: Robert Buckley 
>An: "geoserver-users@lists.sourceforge.net" 
> 
>Gesendet: 10:52 Montag, 24.September 2012
>Betreff: [Geoserver-users] Should JAVA_OPTS appear in my printev output?
> 
>
>Hi,
>
>
>Tomcat6 on Ubuntu 10.04 server crashed over the weekend, and i´m searching for 
>possible causes. 
>
>
>I checked printenv to see which enviroment variables are set, and couldn´t 
>find anything for JAVA_OPTS. Later I found that JAVA_OPTS is being read from 
>/etc/default/tomcat6
>
>
>Does this mean the the environment variable for JAVA_OPTS has not been set? Is 
>this bad?...Tomcat6 has been running with geoserver for a while now, and very 
>rarely do I get a crash.
>
>
>Thanks for any tips,
>
>
>Robert
>--
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and 
>threat landscape has changed and how IT managers can respond. Discussions 
>will include endpoint security, mobile security and the latest in malware 
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>--
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>___
>Geoserver-users mailing list
>Geoserver-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Should JAVA_OPTS appear in my printev output?

2012-09-24 Thread Robert Buckley
Going a bit deeper into the subject of defining JAVA variables in Tomcat6 on 
ubuntu, I have found that there are 3 files where my JAVA_OPTS have been 
defined...


1. /etc/init.d/tomcat6

2 /etc/default/tomcat6. 

3. /usr/share/tomcat6/bin/catalina.sh

The output of  ps auxw | grep catalina outputs two different values of 
JAVA_OPTS. I am assuming that the last one printed is the one which will be 
appliedhowever this is a guess.


If anyone knows how to get this set properly, please let me know,

Thanks,
Rob



 Von: Robert Buckley 
An: "geoserver-users@lists.sourceforge.net" 
 
Gesendet: 10:52 Montag, 24.September 2012
Betreff: [Geoserver-users] Should JAVA_OPTS appear in my printev output?
 

Hi,

Tomcat6 on Ubuntu 10.04 server crashed over the weekend, and i´m searching for 
possible causes. 

I checked printenv to see which enviroment variables are set, and couldn´t find 
anything for JAVA_OPTS. Later I found that JAVA_OPTS is being read from 
/etc/default/tomcat6

Does this mean the the environment variable for JAVA_OPTS has not been set? Is 
this bad?...Tomcat6 has been running with geoserver for a while now, and very 
rarely do I get a crash.

Thanks for any tips,

Robert
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] org.springframework.web.util.NestedServletException

2012-09-24 Thread indian.ganesh
Hi all,

  i am building an application using opengeo suite sdk in
which i am getting connected to the geoserver for creating new feature or
style and editing existing feature or style.  for that i authenticate
geoserver from my application. and then after authentication with geoserver
when i select the tool for editing or creating feature and clicks on the
feature to be edited then following requests are fired to geoserver


1.
http://localhost:8080/geoserver/wms?SERVICE=WMS&REQUEST=GetFeatureInfo&BBOX=289159.737699%2C2116663.886335%2C290474.432137%2C2117019.500404&WIDTH=1098&HEIGHT=297&X=553&Y=142&QUERY_LAYERS=nmmc%3Aanganwadi&INFO_FORMAT=application%2Fvnd.ogc.gml&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FEATURE_COUNT=1&LAYERS=nmmc%3Aanganwadi&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.1.1&SERVICE=WMS&STYLES=&SRS=EPSG%3A32643

this request status is 200 Ok responds the xml response

2.
http://localhost:8080/geoserver/wfs/WfsDispatcher?&%3Cwfs%3AGetFeature%20xmlns%3Awfs=%22http%3A%2F%2Fwww.opengis.net%2Fwfs%22%20service%3D%22WFS%22%20version%3D%221.1.0%22%20maxFeatures%3D%2220%22%20xsi%3AschemaLocation%3D%22http%3A%2F%2Fwww.opengis.net%2Fwfs%20http%3A%2F%2Fschemas.opengis.net%2Fwfs%2F1.1.0%2Fwfs.xsd%22%20xmlns%3Axsi%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%3E%3Cwfs%3AQuery%20typeName%3D%22feature%3Aanganwadi%22%20srsName%3D%22EPSG%3A32643%22%20xmlns%3Afeature%3D%22http%3A%2F%2Fwww.nmmconline.com%22%3E%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%3E%3Cogc%3AFeatureId%20fid%3D%22anganwadi.fid--7e929286_139f70d8bfb_-7fda%22%2F%3E%3C%2Fogc%3AFilter%3E%3C%2Fwfs%3AQuery%3E%3C%2Fwfs%3AGetFeature%3E

this request status is 500 internal server error

and responds as

Apache Tomcat/6.0.24 - Error
report HTTP Status 500 - type Exception
reportmessage description The
server encountered an internal error () that prevented it from
fulfilling this request.exception
org.springframework.web.util.NestedServletException: Handler
processing failed; nested exception is java.lang.NoClassDefFoundError:
org/apache/xml/serialize/OutputFormat   
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:920)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
  
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
   
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
  
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
   
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
 
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
   
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)

org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
   
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
   
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)

org.springframework.security.ui.SpringSecurityFilt

[Geoserver-users] Should JAVA_OPTS appear in my printev output?

2012-09-24 Thread Robert Buckley
Hi,

Tomcat6 on Ubuntu 10.04 server crashed over the weekend, and i´m searching for 
possible causes. 

I checked printenv to see which enviroment variables are set, and couldn´t find 
anything for JAVA_OPTS. Later I found that JAVA_OPTS is being read from 
/etc/default/tomcat6

Does this mean the the environment variable for JAVA_OPTS has not been set? Is 
this bad?...Tomcat6 has been running with geoserver for a while now, and very 
rarely do I get a crash.

Thanks for any tips,

Robert--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: authentication to geoserver in opengeo suite sdk viewer

2012-09-24 Thread indian.ganesh
hi Christian,

 the guidance worked in case of geoserver 2.1.x . i am getting
an authentication dialog on wrong credentials and 200 ok status on correct
authentication. i have fired a request to /geoserver/rest/workspaces..

 i request you to mention the HTTP basic authentication hints
for geoserver 2.2.x also for knowledge purpose which may help me in future.

thanks

 [?]
On 24 September 2012 13:38,  wrote:

> Ok :-)
>
> These answers are the important ones. For 2.1.x series, you have to use
> basic auth and you have to add the "Authorization" request header for EACH
> call to GeoServer. Again, here is a java script example
> http://coderseye.com/2007/how-**to-do-http-basic-auth-in-ajax.**html
>
> No need to send a request to j_spring_security_check !!!
>
> As an example, if you want to get a list of the workspaces, the URL is
>
> http://localhost:8080/**geoserver/rest/workspaces
>
> and you have to add the Authorization header.
>
> For GeoServer 2.2.x, there are other possibilities, but I think this is
> not of interest for you at the moment.
>
>
> Christian
>
>
>
> Zitat von "indian.ganesh" :
>
>  Ok.. Christian..
>>
>>i want to use GeoServer REST API (configuring without a GUI) for
>> creating / editing features , styles etc.
>>
>> and i am using GeoServer 2.1.3
>>
>>
>> On 24 September 2012 12:21,  wrote:
>>
>>  Hi Indian
>>>
>>> First, please stay on the user list, this thread may interest some other
>>> users too and perhaps we get some further tips.
>>>
>>> Some questions
>>>
>>> 1) Do you want to use the GeoServer admin GUI for creating
>>> features/styles
>>> or the REST API (configuring without a GUI)
>>>
>>> 2) Which GeoServer do you use. Starting with 2.2.x, we have a more
>>> powerful security subsystem offering more possibilities for
>>> authentication.
>>>
>>> Please answer these questions
>>>
>>> Christian
>>>
>>>
>>>
>>> Zitat von "indian.ganesh" :
>>>
>>>  Hi Christian,
>>>

  i am using login dialog only to supply the username and
 password dynamically. and that login dialog will make a submit request
 to
 local server. then local server will authenticate the user whether he is
 authorized to make authentication to geoserver or not.

 if the credentials passed by the user are authenticated
 by
 local server then i am trying to perform geoserver authentication.  will
 this create any issue in geoserver authentication?


 On 20 September 2012 18:31,  wrote:

  Hi

>
> Some explanations. Do not mix basic auth and form based auth. If you
> want
> to log in and create a servers session using form based auth, look here
>
> https://getsatisfaction.com/**opengeo/topics/auth_in_**
> https://getsatisfaction.com/**opengeo/topics/auth_in_**>
> >
> geoserver_with_html_php_js<**htt**ps://getsatisfaction.com/
>
> opengeo/topics/auth_in_geoserver_with_html_php_js ps://getsatisfaction.com/**opengeo/topics/auth_in_**
> geoserver_with_html_php_js
> >
> >
>
>
> You can see an example. I would recommend this for your needs.
>
> If you do not want to create an HTTP session and use basic auth, then
> look
> here
> http://coderseye.com/2007/how-**to-do-http-basic-auth-in-***
> *ajax.**html
>  basic-auth-in-ajax.**html
> >
>  in-ajax.html auth-in-ajax.html
> >
>
> >.
>
> If you use basic auth, you have to resend the "Authorization" header
> for
> each request. I think this is not what you want.
>
>
> Christian
>
>
>
>
>
> Zitat von "indian.ganesh" :
>
>  hi Christian,
>
>
>> i'm little bit confused..
>>
>> following is my code for authentication
>>
>>  showLoginDialog: function() {
>> var panel = new Ext.FormPanel({
>> url:   
>> "http://localhost/Ganesh/**login_response.json
>> 
>> >
>> > localhost/Gan

Re: [Geoserver-users] CAS authentication for early adopters

2012-09-24 Thread Landry Breuil
On 09/22/12 16:24, christian.muel...@nvoe.at wrote:
> Unfortunately, the CAS module did not find its way into 2.2.0, it is
> scheduled for 2.2.1 next month.
>
> If there is some interest, I can send a custom jar which has to be
> dropped into the WEB-INF/lib directory of the GeoServer installation.
>
> If there is some interest, I will formulate a short description of the
> configuration.
>
> The CAS authentication works for OGC services and accepts
> service/proxy tickets with an optional (but recommended) creation of
> an HTTP session.

Yes, i'd be definitely interested in testing such a setup. We're using 
georchestra which provides a CAS authentification server, and i'd like 
to test geoserver 2.2 with it. We're not going in production before 
2.2.1 anyway, but early testing is definitely planned.

-- 
Landry Breuil

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Fwd: authentication to geoserver in opengeo suite sdk viewer

2012-09-24 Thread christian . mueller
Ok :-)

These answers are the important ones. For 2.1.x series, you have to  
use basic auth and you have to add the "Authorization" request header  
for EACH call to GeoServer. Again, here is a java script example
http://coderseye.com/2007/how-to-do-http-basic-auth-in-ajax.html

No need to send a request to j_spring_security_check !!!

As an example, if you want to get a list of the workspaces, the URL is

http://localhost:8080/geoserver/rest/workspaces

and you have to add the Authorization header.

For GeoServer 2.2.x, there are other possibilities, but I think this  
is not of interest for you at the moment.

Christian



Zitat von "indian.ganesh" :

> Ok.. Christian..
>
>i want to use GeoServer REST API (configuring without a GUI) for
> creating / editing features , styles etc.
>
> and i am using GeoServer 2.1.3
>
>
> On 24 September 2012 12:21,  wrote:
>
>> Hi Indian
>>
>> First, please stay on the user list, this thread may interest some other
>> users too and perhaps we get some further tips.
>>
>> Some questions
>>
>> 1) Do you want to use the GeoServer admin GUI for creating features/styles
>> or the REST API (configuring without a GUI)
>>
>> 2) Which GeoServer do you use. Starting with 2.2.x, we have a more
>> powerful security subsystem offering more possibilities for authentication.
>>
>> Please answer these questions
>>
>> Christian
>>
>>
>>
>> Zitat von "indian.ganesh" :
>>
>>  Hi Christian,
>>>
>>>  i am using login dialog only to supply the username and
>>> password dynamically. and that login dialog will make a submit request to
>>> local server. then local server will authenticate the user whether he is
>>> authorized to make authentication to geoserver or not.
>>>
>>> if the credentials passed by the user are authenticated by
>>> local server then i am trying to perform geoserver authentication.  will
>>> this create any issue in geoserver authentication?
>>>
>>>
>>> On 20 September 2012 18:31,  wrote:
>>>
>>>  Hi

 Some explanations. Do not mix basic auth and form based auth. If you want
 to log in and create a servers session using form based auth, look here

 https://getsatisfaction.com/opengeo/topics/auth_in_**
 geoserver_with_html_php_js>>> opengeo/topics/auth_in_**geoserver_with_html_php_js
 >


 You can see an example. I would recommend this for your needs.

 If you do not want to create an HTTP session and use basic auth, then
 look
 here
 http://coderseye.com/2007/how-to-do-http-basic-auth-in-**ajax.**html
 
 >.

 If you use basic auth, you have to resend the "Authorization" header for
 each request. I think this is not what you want.


 Christian





 Zitat von "indian.ganesh" :

  hi Christian,

>
> i'm little bit confused..
>
> following is my code for authentication
>
>  showLoginDialog: function() {
> var panel = new Ext.FormPanel({
> url:
> "http://localhost/Ganesh/login_response.json
> 
> >
>
> ",
> frame: true,
> labelWidth: 60,
> defaultType: "textfield",
>
> errorReader: {
> read: function(response) {
> var success = false;
> var records = [];
> if (response.status === 200) {
> success = true;
> } else {
> records = [
> {data: {id: "username", msg: "invalid
> Username
> or password."}},
> {data: {id: "password", msg: "invalid
> Username
> or password."}}
> ];
> }
> return {
> success: success,
> records: records
> };
> }
> },
> items: [{
> fieldLabel: "User",
> name: "username",
> allowBlank: false
> }, {
> fieldLabel: "password",
> name: "password",
> inputType: "password",
> allowBlank: false
> }],
> buttons: [{
> te

Re: [Geoserver-users] Fwd: authentication to geoserver in opengeo suite sdk viewer

2012-09-24 Thread indian.ganesh
Ok.. Christian..

   i want to use GeoServer REST API (configuring without a GUI) for
creating / editing features , styles etc.

and i am using GeoServer 2.1.3


On 24 September 2012 12:21,  wrote:

> Hi Indian
>
> First, please stay on the user list, this thread may interest some other
> users too and perhaps we get some further tips.
>
> Some questions
>
> 1) Do you want to use the GeoServer admin GUI for creating features/styles
> or the REST API (configuring without a GUI)
>
> 2) Which GeoServer do you use. Starting with 2.2.x, we have a more
> powerful security subsystem offering more possibilities for authentication.
>
> Please answer these questions
>
> Christian
>
>
>
> Zitat von "indian.ganesh" :
>
>  Hi Christian,
>>
>>  i am using login dialog only to supply the username and
>> password dynamically. and that login dialog will make a submit request to
>> local server. then local server will authenticate the user whether he is
>> authorized to make authentication to geoserver or not.
>>
>> if the credentials passed by the user are authenticated by
>> local server then i am trying to perform geoserver authentication.  will
>> this create any issue in geoserver authentication?
>>
>>
>> On 20 September 2012 18:31,  wrote:
>>
>>  Hi
>>>
>>> Some explanations. Do not mix basic auth and form based auth. If you want
>>> to log in and create a servers session using form based auth, look here
>>>
>>> https://getsatisfaction.com/opengeo/topics/auth_in_**
>>> geoserver_with_html_php_js>> opengeo/topics/auth_in_**geoserver_with_html_php_js
>>> >
>>>
>>>
>>> You can see an example. I would recommend this for your needs.
>>>
>>> If you do not want to create an HTTP session and use basic auth, then
>>> look
>>> here
>>> http://coderseye.com/2007/how-to-do-http-basic-auth-in-**ajax.**html
>>> 
>>> >.
>>>
>>> If you use basic auth, you have to resend the "Authorization" header for
>>> each request. I think this is not what you want.
>>>
>>>
>>> Christian
>>>
>>>
>>>
>>>
>>>
>>> Zitat von "indian.ganesh" :
>>>
>>>  hi Christian,
>>>

 i'm little bit confused..

 following is my code for authentication

  showLoginDialog: function() {
 var panel = new Ext.FormPanel({
 url:  
 "http://localhost/Ganesh/login_response.json
 
 >

 ",
 frame: true,
 labelWidth: 60,
 defaultType: "textfield",

 errorReader: {
 read: function(response) {
 var success = false;
 var records = [];
 if (response.status === 200) {
 success = true;
 } else {
 records = [
 {data: {id: "username", msg: "invalid
 Username
 or password."}},
 {data: {id: "password", msg: "invalid
 Username
 or password."}}
 ];
 }
 return {
 success: success,
 records: records
 };
 }
 },
 items: [{
 fieldLabel: "User",
 name: "username",
 allowBlank: false
 }, {
 fieldLabel: "password",
 name: "password",
 inputType: "password",
 allowBlank: false
 }],
 buttons: [{
 text: "Login",
 formBind: true,
 handler: submitLogin,
 scope: this
 }],
 keys: [{
 key: [Ext.EventObject.ENTER],
 handler: submitLogin,
 scope: this
 }]
 });
  function submitLogin() {
 panel.buttons[0].disable();
 panel.getForm().submit({
 success: function(form, action) {
  var response = JSON.parse(action.response.responseText);
 this.setAuthorizedRoles(["
 ROLE_ADMINISTRATOR"]);
  app.mapPanel.getTopToolbar().***
 *items.each(function(tool)

 {