[Geoserver-devel] How to run GeoServer with WPS module

Hi

I have problems to get GeoServer running with the WPS module:

  • I checked out today’s trunk
  • Built GS with 'mvn clean install -Pwps
  • WPS tests seem to work
  • deployed the resulting geoserver.war file in Tomcat

Trying to request the capabilities (http://localhost:8080/geoserver/ows?service=WPS&request=GetCapabilities) throws some errors:

org.geoserver.platform.ServiceException: No service: ( WPS )
at org.geoserver.ows.Dispatcher.service(Dispatcher.java:429)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:214)
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

The wps-2.1-SNAPSHOT.jar (which is build by the mvn process) is not included in the war-file or at least I couldn’t find it. I then tried to run it with jetty: mvn jetty:run -Pwps. But also with the same errors. What do I miss?

regards
Stefan

Mit freundlichem Gruss
Stefan Ziegler
Leiter Aufsicht

Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
Rötistrasse 4
4501 Solothurn
Telefon 032 627 75 96
Telefax 032 627 75 98
stefan.ziegler@anonymised.com
http://www.so.ch

Ziegler Stefan ha scritto:

Hi

I have problems to get GeoServer running with the WPS module:

- I checked out today's trunk
- Built GS with 'mvn clean install -Pwps
- WPS tests seem to work
- deployed the resulting geoserver.war file in Tomcat

Looked on trunk, I could make things work in the IDE but not
in the geoserver.war

I think I fixed the issues. Try svn updating, rebuilding both
the wps module and web/app with -Pwps, it should be working
(I checked the capabilities was returned, nothing more than that)

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.