Getting started
Description
Before starting on the tutorials, we need to ensure that XPE has been installed correctly and working properly. To do this perform the following steps:
- Edit the file server.xml in the $XPE_HOME/etc directory and ensure that the
contextPath is set to '/xpe'. The file should look something like:
<jvm args="-Xmx128m -Xms128m" xmlns="http://www.xmlpipe.org/xpe" >This is to ensure that the URL's we use to access XPE pipelines in these tutorials will be consistent with those applicable to your particular XPE configuration.
<property name="javax.xml.transform.TransformerFactory" value="net.sf.saxon.TransformerFactoryImpl" />
<property name="org.xml.sax.driver" value="org.apache.xerces.parsers.SAXParser" />
<xpe base="./xpe" temp="../temp" work="../work" deploy="../deploy" contextPath="/xpe" >
<server>
<listener port="8188" minThreads="5" maxThreads="100" />
</server>
</xpe>
</jvm> - Start the XPE server:
- Unix:
- Windows: start->All Programs->XPE->XPE Server
-
Ensure that the server is listening for requests. To do this open a browser and enter the following url: http://localhost:8188/xpe/map. You should see a page similar to:
- If you see a page similar to the above, your XPE configuration is fine and ready for our tutorials. If not you will need to check your installation and configuration. Please refer to the XPE Installation and configuration manual.
- Before begining the tutorials, download the tutorials.zip file from the www.softtouchit.com/xpe/tutorials/download/?????? This .zip file contains a skeleton project directory (skeleton) that will simplify getting started with the tutorials. The .zip file also contains complete solutions for all the tutorials in case you have difficulty with any of the tutorials. Unzip the tutorials.zip file and copy this folder to a convenient location where you can use your favoured IDE to edit and build the project. To use this project you will need Jakarta ANT installed along with a java (v1.4+) runtime installed.