|
For these instructions we assume the reader knows the basics of Apache Tomcat. For more information, visit tomcat.apache.org. In this tutorial we will learn how to install the 52º North WPS in a Tomcat server and how to access it using the WPS client (BETA) plugin of GearScape:
- Download and install Apache Tomcat from tomcat.apache.org. For these instructions, we used the 6.0.26 version.
- Download the 52º North WPS with GGL capabilities from here.
- Install the downloaded .war file into the Tomcat engine. Note that in this step, is MANDATORY to put the WPS web application under the /wps path of the Tomcat server. This can be done in two different ways:
- Renaming the downloaded file to wps.war and putting it into the /webapps directory of Tomcat.
- Using Tomcat contexts. Basically consists in creating a context file (wps.xml) under the Tomcat configuration directory (conf/Catalina/localhost) with the following content:
<Context path="/wps" privileged="true" docBase="<path to the .war file without extension>"/>
- Start the Apache Tomcat server and check the GetCapabilities request with your favourite browser: http://localhost:8080/wps/WebProcessingService?Request=GetCapabilities&Service=WPS
Now we have the WPS server running, we will access it using GearScape:
- Download and install GearScape.
- Install the WPS client (BETA) plugin from GearScape (Community -> Add plugin -> from GearScape official list). Make sure your GearScape remote plugin list is http://www.gearscape.org/app/plugins-0.2beta2/remote-plugin-list.txt. You can change that in the configuration (File -> Configuration: Updates/Official repository). The installation will take some time, you can see the progress in the status bar.
- Once the plugin has been installed and the application is restarted automatically, you can access the WPS server with the Remote Services menu, or by right-clicking a GGL script in the Geocognition in order to deploy the process. At this point you can try to follow the demonstrations of the Documentation section with your working system.
|