Hi Simone, 

Don't worry, sometimes you can answer at the moment but sometimes you cannot, 
it also happens to me. 

I've tried to merge GeoServer 2.0.2 and the GeoServer WPS module, but without 
success. I get the following error, which I suspect is going to be impossible 
to fix to get it work with version 2.0.2:

2011-02-28 13:22:59,424 ERROR [context.ContextLoader] - Context initialization 
failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'shapeZipPPIO' defined in URL 
[jar:file:/C:/Archivos%20de%20programa/GeoServer%202.0.2/webapps/geoserver/WEB-INF/lib/wps-core-2.1-RC1.jar!/applicationContext.xml]:
 Instantiation of bean failed; nested exception is 
java.lang.NoClassDefFoundError: org/geotools/data/simple/SimpleFeatureCollection
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
        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.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:540)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:135)
        at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
        at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
        at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:977)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.mortbay.start.Main.invokeMain(Main.java:183)
        at org.mortbay.start.Main.start(Main.java:497)
        at org.mortbay.start.Main.main(Main.java:115)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at 
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: 
org/geotools/data/simple/SimpleFeatureCollection
        at 
org.geoserver.wps.ppio.ProcessParameterIO.<clinit>(ProcessParameterIO.java:79)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at 
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
        at 
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
        at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
        ... 45 more

The error appears while starting the app. Is there an easy to way to fix this??

Anyway, the problem is that our GIS plattform is in production level and 
working fine, at the moment, and due to this, we cannot take any risk in 
installing a beta or candidate version. By the way, the proccess of migration 
will consist only in migrating the GeoServer data directory to the new 
version?? As simple as that?
 
Thanks.
 
Un saludo,
 
··················································································

David Alda Fernández de Lezea
Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad
 
IKT
Granja Modelo s/n · 01192 · Arkaute (Araba)

··················································································
Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90
··················································································
email: da...@ikt.es                                web: www.ikt.es
··················································································

-----Mensaje original-----
De: simbo...@gmail.com [mailto:simbo...@gmail.com] En nombre de Simone 
Giannecchini
Enviado el: viernes, 25 de febrero de 2011 16:32
Para: David Alda Fernandez de Lezea
CC: geoserver-users@lists.sourceforge.net
Asunto: Re: [Geoserver-users] GeoServer & WPS Suggestion

Ciao David,
sorry for the late answer.

If I were you, I would try a nightly form the 2.1 RC2

http://blog.geoserver.org/2011/02/21/geotools-2-1-rc2-released/

install the WPS official extension, instructions here:

http://docs.geoserver.org/stable/en/user/extensions/wps/install.html

Regards,
Simone Giannecchini
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

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

-------------------------------------------------------



On Wed, Feb 16, 2011 at 1:18 PM, David Alda Fernandez de Lezea <da...@ikt.es> 
wrote:
> Hi Simone,
>
> Thanks for your response. Our first approach with WPS will consist in making 
> unions, intersections, differences and buffers, but it could be possible that 
> in the future (in a year more or less) we'll be requested new functions.
>
> If you require more info tell me.
>
> Thanks.
>
> Un saludo,
>
> ······································································
> ············
>
> David Alda Fernández de Lezea
> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y 
> Biodiversidad
>
> IKT
> Granja Modelo s/n · 01192 · Arkaute (Araba)
>
> ······································································
> ············
> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90 
> ······································································
> ············
> email: da...@ikt.es                                web: www.ikt.es 
> ······································································
> ············
>
> -----Mensaje original-----
> De: simbo...@gmail.com [mailto:simbo...@gmail.com] En nombre de Simone 
> Giannecchini Enviado el: miércoles, 16 de febrero de 2011 12:47
> Para: David Alda Fernandez de Lezea
> CC: geoserver-users@lists.sourceforge.net
> Asunto: Re: [Geoserver-users] GeoServer & WPS Suggestion
>
> Ciao David,
> you are right, WPS is going to be an official extension for 2.1, getting it 
> into 2.0.x is as not as easy as with 2.1.
>
> As per the other products, I do not know what to say since we (as in
> GeoSolutions) tend to use GeoServer WPS when it is needed. I guess it all 
> boils down to what you need to do with WPS.
> Can you be more specific?
>
> Regards,
> Simone Giannecchini
> -------------------------------------------------------
> Ing. Simone Giannecchini
> GeoSolutions S.A.S.
> Founder
>
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax:      +39 0584 962313
> mob:    +39 333 8128928
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/simonegiannecchini
> http://twitter.com/simogeo
>
> -------------------------------------------------------
>
>
>
> On Wed, Feb 16, 2011 at 11:57 AM, David Alda Fernandez de Lezea 
> <da...@ikt.es> wrote:
>>
>>  Any suggestions??
>>
>>
>>
>>
>> Un saludo,
>>
>> ·····································································
>> ·
>> ············
>>
>> David Alda Fernández de Lezea
>> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y 
>> Biodiversidad
>>
>> IKT
>> Granja Modelo s/n · 01192 · Arkaute (Araba)
>>
>> ·····································································
>> ·
>> ············
>> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90 
>> ·····································································
>> ·
>> ············
>> email: da...@ikt.es                                web: www.ikt.es 
>> ·····································································
>> ·
>> ············
>>
>> -----Mensaje original-----
>> De: David Alda Fernandez de Lezea [mailto:da...@ikt.es] Enviado el:
>> viernes, 11 de febrero de 2011 9:46
>> Para: geoserver-users@lists.sourceforge.net
>> Asunto: [Geoserver-users] GeoServer & WPS Suggestion
>>
>> Hi list,
>>
>> I'm planning to give GeoServer the functionallity that WPS provides, but I'm 
>> not really sure what product do I have to choose. I'm using GeoServer 2.0.2, 
>> which is stable, and I don't know if the geoserver's WPS module works with 
>> this version.
>>
>> I've also found some other products such as 52North WPS, WPSInt and PyWPS. 
>> Do you guys have any opinion about these products??
>>
>> Thanks.
>>
>> Un saludo,
>>
>> ·····································································
>> ·
>> ············
>>
>> David Alda Fernández de Lezea
>> Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y 
>> Biodiversidad
>>
>> IKT
>> Granja Modelo s/n · 01192 · Arkaute (Araba)
>>
>> ·····································································
>> ·
>> ············
>> Tlfnos.: 945-00-32-95                         Fax: 945-00.32.90 
>> ·····································································
>> ·
>> ············
>> email: da...@ikt.es                                web: www.ikt.es 
>> ·····································································
>> ·
>> ············
>>
>> ---------------------------------------------------------------------
>> -
>> -------- The ultimate all-in-one performance toolkit: Intel(R) 
>> Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>> ---------------------------------------------------------------------
>> -
>> -------- The ultimate all-in-one performance toolkit: Intel(R) 
>> Parallel Studio XE:
>> Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
> ----------------------------------------------------------------------
> -------- The ultimate all-in-one performance toolkit: Intel(R) 
> Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to