[Geoserver-users] 405, FTL and REST delete of SLD

2012-07-05 Thread Martijn Coenen
Hello,

We are using REST to DELETE style information from Geoserver. It works very 
well except on one implementation at one of our customers.
A DELETE request returns a 405 error. Normally this would be a MIME-type issue, 
but in this case the mime types are just fine.

The setup is: IIS 7, Geoserver (2.1.2) on Tomcat via ISAPI redirect.

When looking in the Geoserver logfile, I noticed the following when trying to 
delete o10004_kol1.sld:

2012-07-05 12:19:52,269 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~ antPath= 
/** methodList= [Ljava.lang.String;@22880c2b
2012-07-05 12:19:52,269 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[0]: GET
2012-07-05 12:19:52,269 DEBUG 
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is: 
'/rest/styles/o10004_kol1'; antPath is /**; matchedPath=true; 
matchedMethods=true
2012-07-05 12:19:52,269 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/rest/styles/O10004_kol1]
2012-07-05 12:19:52,269 DEBUG [catalog.rest] - GET style O10004_kol1
2012-07-05 12:19:52,285 DEBUG [geoserver.rest] - Failed to lookup template 
O10004_kol1.ftl
java.io.FileNotFoundException: Template O10004_kol1.ftl not found.

It says it cannot find a FTL file.  What is this FTL file? Never heard of it 
and surely we never used it before for deleting a style via REST.

Anyone with some indept knowledge about this? If needed, I have a complete 
logfile (on VERBOSE level).


Best regards,
Martijn Coenen

[Beschrijving: Beschrijving: Beschrijving: 
http://www.covadis.nl/emailkop/logo.gif]

Covadis b.v.

t: 026 3616600

Geograaf 12

f: 026 3612317

6921 EW Duiven

e: coe...@covadis.nl



inline: image001.gif--
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] possible reasons for does not have a properly configured datastore-error

2012-07-05 Thread Max Stephan
Hello list,

on our 2.1.3.-geoserver we recently got problems with the layers based on
one specific datastore (which is a directory of spatial files). We didn´t
apply any obvious changes to the layers based on this store (apart from
activating and deactivating a few layers a few weeks ago).

Following behavior is observed: First all pointbased layers based on the
datastore were disabled by geoserver automatically . The log showed the
following message for them:
featureType:
GVP:GVP_socioeconomics_household-farm-distance_atankwidi-ghana_2006_pnt does
not have a properly configured datastore
We didn´t find anything wrong within the configuration of the datastore
though. Deactivating each layer and reactivating them again afterwards made
them work again. But when we restarted Geoserver the same problem occured.
I also tried to alter the configfiles for the layers in the workspace
manually (setting enabled in the featuretype.xml to true). That helped
in case of some layers but not for all.

We are kind of lost what the deeper reason for this errors could be and how
we could solve them in a sustainable manner (i.e. not having to
deactivate/reactivate all layers after restart or having to recreate all
layers).

Best regards and thanks in advance
Max Stephan

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/possible-reasons-for-does-not-have-a-properly-configured-datastore-error-tp4986227.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] Clustering Geoserver

2012-07-05 Thread Andrea Aime
On Thu, Jul 5, 2012 at 11:17 AM, Hugo hfpmart...@gmail.com wrote:

 Hello all,

 Is it possible to disable publishing capabilities of a geoserver instance?
 I mean, disabling all the options of publishing new layers, new styles, and
 anything that changes data directory?
 My scenario is like the following: i have a Master Geoserver with a shared
 directoty with 2 slaves. Master is used to manage and slaves for getmap,
 getfeature, getfeatureinfo, etc...
 When there is a change in data directory (made by the master) a script is
 called to reload catalog configuration on slaves using the rest api.
 Everythnig works fine, but can i force that a slave geoserver has no
 managing capabilities?


I believe you can do so by removing, from WEB-INF/lib, all the web-*.jar
files,
the GUI should disappear that way.
But I'm not 100% sure, it may be some modifications to web.xml are needed
as well
(to remove the wicket servlet)

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] How to update existing Imagepyramid

2012-07-05 Thread CABO
I have an existing ImagePyramid in GeoServer 2.1.4 (but I can use 2.2 if that 
helps).

If it is possible, how can I update the pyramid (add new tiles) without 
deleting and re-creating the ImagePyramid store each time?

Regards Casper
--
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] 405, FTL and REST delete of SLD

2012-07-05 Thread David Winslow
FTL is the template language we use to generate  HTML output in several
places in GeoServer, including the REST API.  If you are seeing FTL errors
in the REST API it is a bug in GeoServer and a JIRA report would be
appreciated.

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

On Thu, Jul 5, 2012 at 6:33 AM, Martijn Coenen mart...@covadis.nl wrote:

  Hello,

 ** **

 We are using REST to DELETE style information from Geoserver. It works
 very well except on one implementation at one of our customers.

 A DELETE request returns a 405 error. Normally this would be a MIME-type
 issue, but in this case the mime types are just fine. 

 ** **

 The setup is: IIS 7, Geoserver (2.1.2) on Tomcat via ISAPI redirect.

 ** **

 When looking in the Geoserver logfile, I noticed the following when trying
 to delete o10004_kol1.sld:

 ** **

 2012-07-05 12:19:52,269 DEBUG
 [security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~
 antPath= /** methodList= [Ljava.lang.String;@22880c2b

 2012-07-05 12:19:52,269 DEBUG
 [security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[0]: GET*
 ***

 2012-07-05 12:19:52,269 DEBUG
 [security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is:
 '/rest/styles/o10004_kol1'; antPath is /**; matchedPath=true;
 matchedMethods=true

 2012-07-05 12:19:52,269 DEBUG [ows.OWSHandlerMapping] - Looking up handler
 for [/rest/styles/O10004_kol1]

 2012-07-05 12:19:52,269 DEBUG [catalog.rest] - GET style O10004_kol1

 2012-07-05 12:19:52,285 DEBUG [geoserver.rest] - Failed to lookup template
 O10004_kol1.ftl

 java.io.FileNotFoundException: Template O10004_kol1.ftl not found.

 ** **

 It says it cannot find a FTL file.  What is this FTL file? Never heard of
 it and surely we never used it before for deleting a style via REST.

 ** **

 Anyone with some indept knowledge about this? If needed, I have a complete
 logfile (on VERBOSE level).

 ** **

 ** **

 Best regards,
 Martijn Coenen

 [image: Beschrijving: Beschrijving: Beschrijving:
 http://www.covadis.nl/emailkop/logo.gif]

 Covadis b.v. 

 t: 026 3616600 

 Geograaf 12 

 f: 026 3612317 

 6921 EW Duiven 

 e: coe...@covadis.nl

 ** **

 ** **


 --
 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


image001.gif--
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] Native JAI not working

2012-07-05 Thread Benjamin Mearns
Glad to hear it, Michael!

I don't remember needing to set any parameters via Tomcat manager or in any
files ... just directly in my Windows environment variables:

These are the three related to Java or Geoserver that I had set (included
the values just for example).  BTW, I didn't see anything on PATH related
to either.

JAVA_HOME = C:\Program Files\Java\jdk1.7.0_04
GEOSERVER_DATA_DIR = C:\Program Files (x86)\geoserver-2.2\data_dir
GEOSERVER_HOME = C:\Program Files (x86)\geoserver-2.2

Ben


On Tue, Jul 3, 2012 at 3:10 PM, Michael Smith micha...@abag.ca.gov wrote:

 Ben and Andrea,
 I finally got it to work today. I ended up adding the JRE home, bin, and
 lib\ext locations to my PATH statement, probably overkill but it was late
 enough I just wanted to put all the key directories in the PATH.  What
 really seemed to be the key, though, was entering the locations of the
 three native JAI JAR files to the 'Java Classpath' line (Java tab) in the
 Tomcat properties manager.

 Ben, I am using Windows Server 2003 (32 bit) and Tomcat 6.0.35 so I am not
 sure if it is directly applicable to your setup, but wanted to pass on what
 worked for me. Thank you for offering to help!

 Andrea, thank you for the troubleshooting help. Once I get my development
 server back I will redo the process to see the minimal steps required to
 get GeoServer on Windows 2003 to recognize the native JAI and will pass
 that on if you are interested. One might only have to update the classpath
 in the Tomcat properties manager, and nothing else, but I do not know as I
 did not go back and try that. Since the setup I need right now works, I am
 going to leave it alone.


 - Michael





-- 
Ben Mearns
Lead Geospatial Information Consultant
IT-Client Support  Services
University of Delaware
mea...@udel.edu : 302.831.1978
--
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] 405, FTL and REST delete of SLD

2012-07-05 Thread Andrea Aime
On Thu, Jul 5, 2012 at 4:18 PM, David Winslow dwins...@opengeo.org wrote:

 FTL is the template language we use to generate  HTML output in several
 places in GeoServer, including the REST API.  If you are seeing FTL errors
 in the REST API it is a bug in GeoServer and a JIRA report would be
 appreciated.


With a way to reproduce it :-)

Looking at the logs I have the impression the ftl thing might be a red
herring, maybe another
request going on in parallel (we should really add the thread identifier to
each log statement).

Looking at the StyleResource I see no way the code can return a 405,
besides maybe
security settings or the lack of the style name in the URL

Cheers
Andrea

-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313
mob:+39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
--
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] Clustering Geoserver

2012-07-05 Thread Hugo
Hi Andreas,

I have tried your suggestions and they work fine. However, it is still
possible to make changes via post requests. So my question would be, is it
possible to completely disable these type of things in the slave geoserver
so that, only the master could manage things? I ask this because i only
want to make a catalog reload on slave geoservers while being sure that
none of them is writing anything to the shared data directory,

Thanks once again.
Cheers,

Hugo

On Thu, Jul 5, 2012 at 12:59 PM, Andrea Aime
andrea.a...@geo-solutions.itwrote:

 On Thu, Jul 5, 2012 at 11:17 AM, Hugo hfpmart...@gmail.com wrote:

 Hello all,

 Is it possible to disable publishing capabilities of a geoserver
 instance? I mean, disabling all the options of publishing new layers, new
 styles, and anything that changes data directory?
 My scenario is like the following: i have a Master Geoserver with a
 shared directoty with 2 slaves. Master is used to manage and slaves for
 getmap, getfeature, getfeatureinfo, etc...
 When there is a change in data directory (made by the master) a script is
 called to reload catalog configuration on slaves using the rest api.
 Everythnig works fine, but can i force that a slave geoserver has no
 managing capabilities?


 I believe you can do so by removing, from WEB-INF/lib, all the web-*.jar
 files,
 the GUI should disappear that way.
 But I'm not 100% sure, it may be some modifications to web.xml are needed
 as well
 (to remove the wicket servlet)

 Cheers
 Andrea


 --
 Ing. Andrea Aime
 GeoSolutions S.A.S.
 Tech lead

 Via Poggio alle Viti 1187
 55054  Massarosa (LU)
 Italy

 phone: +39 0584 962313
 fax:  +39 0584 962313
 mob:+39 339 8844549

 http://www.geo-solutions.it
 http://geo-solutions.blogspot.com/
 http://www.youtube.com/user/GeoSolutionsIT
 http://www.linkedin.com/in/andreaaime
 http://twitter.com/geowolf




-- 
Hugo Martins
--
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] Rest Examples

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Hello

We need to programmatically be able to create layers in geoserver.  Based on 
the documentation, looks like Geoserver offers rest services to do that.  There 
are no examples as to how this works in Java.  If anybody can provide some 
insight into this, that will be great.

Thanks
Ashok
--
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] Rest Examples

2012-07-05 Thread Alessio Fabiani
http://code.google.com/p/geoserver-manager/

Regards,
Alessio.

---
Ing. Alessio Fabiani
Founder / CTO GeoSolutions S.A.S.

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: (+39) 0584 96.23.13
fax: (+39) 0584 96.23.13
mobile:(+39) 331 62.33.686

http://www.geo-solutions.it
http://geo-solutions.blogspot.com
http://www.linkedin.com/in/alessiofabiani
https://twitter.com/alfa7961
http://twitter.com/geosolutions_it
---



On Thu, Jul 5, 2012 at 5:25 PM, Guntu, Ashok (IS) (Contr) 
ashok.gu...@ngc.com wrote:

  Hello

 ** **

 We need to programmatically be able to create layers in geoserver.  Based
 on the documentation, looks like Geoserver offers rest services to do
 that.  There are no examples as to how this works in Java.  If anybody can
 provide some insight into this, that will be great.

 ** **

 Thanks

 Ashok


 --
 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] Geoserver 2.1.3 and Jboss 5.2

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Hello

Trying to install geoserver 2.1.3/2.1.4 on Jboss 5.2 and get the below error.  
When I installed Geoserver 2.1.3 on Jboss 4.x version a few months back, 
geoserver admin interface worked like a charm.   Now I am getting the below 
error.

I have tried deleting the following jars from geoserver/WEB-INF/lib based on 
another blog but still does not resolve the issue

servlet-api-2.4.jar
stax-api-1.0.1.jar
xalan-2.7.0.jar
xercesImpl-2.6.2.jar
xml-apis-1.3.04.jar
xml-apis-xerces-2.7.1.jar


Any help will be appreciated.

Thanks
Ashok



2012-07-05 11:45:24,249 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/geoserver]] 
(main) Exception sending context initialized event to listener instance of 
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-geoserver-context.xml]:
 Cannot resolve reference to bean 'DiskQuotaStore' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'DiskQuotaStore' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-diskquota-context.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ExceptionInInitializerError
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:313)
at 
org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
at 
org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)

Re: [Geoserver-users] Points drawing in wrong location when bbox crosses dateline

2012-07-05 Thread Joshua M. Thompson
 Can you open a ticket on jira.codehaus.org? If you could also attach the
 dataset
 and style it would help making sure what you see really gets fixed.

http://jira.codehaus.org/browse/GEOS-5213

I took some time this morning to reproduce the problem on my personal
machine using fresh Geoserver install and a PostGIS database. The
original shape files and the shp2pgsql output are attached to the
ticket. This should make it easier for you to reproduce without
needing an Oracle server.

--
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.1.3 and Jboss 5.2

2012-07-05 Thread Guntu, Ashok (IS) (Contr)
Was able to solve this problem using the information provided here.  However, 
still wondering how to utilize the webCache functionality if we have to?

From: Guntu, Ashok (IS) (Contr)
Sent: Thursday, July 05, 2012 11:58 AM
To: geoserver-users@lists.sourceforge.net
Subject: Geoserver 2.1.3 and Jboss 5.2

Hello

Trying to install geoserver 2.1.3/2.1.4 on Jboss 5.2 and get the below error.  
When I installed Geoserver 2.1.3 on Jboss 4.x version a few months back, 
geoserver admin interface worked like a charm.   Now I am getting the below 
error.

I have tried deleting the following jars from geoserver/WEB-INF/lib based on 
another blog but still does not resolve the issue

servlet-api-2.4.jar
stax-api-1.0.1.jar
xalan-2.7.0.jar
xercesImpl-2.6.2.jar
xml-apis-1.3.04.jar
xml-apis-xerces-2.7.1.jar


Any help will be appreciated.

Thanks
Ashok



2012-07-05 11:45:24,249 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/geoserver]] 
(main) Exception sending context initialized event to listener instance of 
class org.geoserver.platform.GeoServerContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'gwcFacade' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-geoserver-context.xml]:
 Cannot resolve reference to bean 'DiskQuotaStore' while setting constructor 
argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'DiskQuotaStore' defined in URL 
[vfszip:/C:/h/COTS/JBOSS/server/gcss/deploy/geoserver.war/WEB-INF/lib/gwc-2.1.3.jar/geowebcache-diskquota-context.xml]:
 Invocation of init method failed; nested exception is 
java.lang.ExceptionInInitializerError
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at 
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.geoserver.platform.GeoServerContextLoaderListener.contextInitialized(GeoServerContextLoaderListener.java:18)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4389)
at 

Re: [Geoserver-users] How to update existing Imagepyramid

2012-07-05 Thread Gordon Keith
On Thu, 5 Jul 2012 10:21:54 PM Casper Børgesen wrote:
 I have an existing ImagePyramid in GeoServer 2.1.4 (but I can use 2.2 if
 that helps).
 
 If it is possible, how can I update the pyramid (add new tiles) without
 deleting and re-creating the ImagePyramid store each time?

I do it by running gdaltindex to add the new tiles to the existing shape file 
in the level directory of the image pyramid.

I'm not sure what is required to load the new shape file into memory. I often 
restart geoserver - I know that works, but there may be less drastic methods if 
restarting is not an option for you (I'd be interested in hearing what does 
work if anyone knows).

For example the following extract from my update bash script ensures all tiff 
files are indexed in the shape files for the pyramid (this does generate plenty 
of warnings that some files are already in the index):

   for f in */. ; do


   
(   



cd $f   



find . -name *.tif -exec gdaltindex -tileindex location $name.shp 
'{}' '+'


)
done


Regards
Gordon

--
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] Clustering Geoserver

2012-07-05 Thread Luca Morandini
On 07/06/2012 12:39 AM, Hugo wrote:
 Hi Andreas,

 I have tried your suggestions and they work fine. However, it is still 
 possible to
 make changes via post requests.

By post requests you mean the admin ReST interface ?

If so, that can be disabled easily by dropping the relevant JAR.

Regards,

Luca Morandini
Data Architect - AURIN project
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini




--
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] possible bug in app-schema module for non-feature elements

2012-07-05 Thread Ben Caradoc-Davies
Allesandro,

the mappingName tag was introduced for this use case, to allow 
multiply-defined non-feature types to each have a unique internal name 
so chaining is unambiguous:
http://docs.geoserver.org/latest/en/user/data/app-schema/feature-chaining.html#multiple-mappings-of-the-same-type
http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#typemappings-and-featuretypemapping

(Credit to Rini for both the implementation and detailed documentation.)

Kind regards,
Ben.

On 05/07/12 20:50, alessandro marrone wrote:
 Hello
 I'm facing some problems using includedTypes tags for non-feature objects

 if I use it for one feature I have no problems,
 but if I have two feature types that include the same non-feature type,
 I obtain this messagge:
 Error occurred getting features
 Duplicate mappingName or targetElement across FeatureTypeMapping
 instances detected.
 They have to be unique, or app-schema doesnapos;t know which one to get.
 Please check your mapping file(s) with mappingName or targetElement of:
 http://xml.fmi.fi/namespace/woml/core/2011/11/15:TimeInterpolation

-- 
Ben Caradoc-Davies ben.caradoc-dav...@csiro.au
Software Engineer
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre



--
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