Upon checking it seems the wps plugin zip is missing a required library. I will add it and fire off a new nightly build.
-Justin
On Fri, Oct 8, 2010 at 9:51 AM, Martin Jensen <martin.martinjensen@anonymised.com> wrote:
Thanks a lot!
I wanted to trywith the following from today the 8th:
http://gridlock.opengeo.org/geoserver/trunk/geoserver-trunk-latest-war.zip
http://gridlock.opengeo.org/geoserver/trunk/community-latest/geoserver-2.1-SNAPSHOT-wps-plugin.zipWhen deploying Gesoerver it works fine, but when adding WPS jars to WEB-INF\lib GS fails on start up:
- GEOSERVER_DATA_DIR: C:\cbkort\sites[geoserver.cbkort.dk](http://geoserver.cbkort.dk)\appbase\wwwroot\data
08 okt 17:44:58 WARN [support.DisposableBeanAdapter] - Invocation of destroy method failed on bean with name ‘geoServerLoader’: java.lang.NullPointerException
08 okt 17:44:58 ERROR [context.ContextLoader] - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘geoserverProcessFactory’ defined in URL [jar:file:/C:/cbkort/sites/geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/wps-2.1-SNAPSHOT.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.xml.WPSConfiguration] for bean with name ‘wpsXmlConfiguration-1.0.0’ defined in URL [jar:file:/C:/cbkort/sites/geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/wps-2.1-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geotools/wps/WPSConfiguration
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)
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.getBeansOfType(DefaultListableBeanFactory.java:308)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:948)
at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:702)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:378)
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.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.xml.WPSConfiguration] for bean with name ‘wpsXmlConfiguration-1.0.0’ defined in URL [jar:file:/C:/cbkort/sites/geoserver.cbkort.dk/appbase/wwwroot/WEB-INF/lib/wps-2.1-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geotools/wps/WPSConfiguration
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1141)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:524)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:938)
at org.geoserver.wps.jts.SpringBeanProcessFactory.setApplicationContext(SpringBeanProcessFactory.java:73)
at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:70)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:350)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1330)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
… 30 moreAm i using the correct files or do I have to do anything else to make WPS work in “Latest” GS ?
/Martin
2010/10/7 Justin Deoliveira <jdeolive@anonymised.com>
Quick note. Just added the python extension to the nightly builds. So feel free to grab it to try it out with wps.
http://gridlock.opengeo.org/geoserver/trunk/community-latest/
-Justin
On Thu, Oct 7, 2010 at 7:58 AM, Justin Deoliveira <jdeolive@anonymised.com> wrote:
Hi Martin,
Unfortunately the python extension has not been shipped with a release of GEoServer yet. So if you want to try it out you will have to build geoserver from sources. Which you can do with:
mvn -P python clean install
from the root of the source tree.
I can also add the python extension to the nightly builds for trunk so you can download the extension there. If there are no objections from the other devs. I also need to verify that it won’t break the build
I will keep you posted.
-Justin
On Thu, Oct 7, 2010 at 7:04 AM, Martin Jensen <martin.martinjensen@anonymised.com> wrote:
I am really excited about the wps implementation in GS. At Foss4g I had a small demo of using scripting languages to make new WPS processes. I want to try this out but I am a little confused on how to get started.
First, I looked for the Python Extension here: http://geoserver.org/display/GEOS/Latest , but did not find anything. Is this what I need to get started and where can I find the extension ?
–
Med venlig hilsenMartin Bjærge Jensen
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
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.–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.–
Med venlig hilsenMartin Bjærge Jensen
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.