First Steps


The XFlow server-side components (workflow and rule engines and web services) run within the JBoss and Tomcat containers. Once you have downloaded the XFlow distribution (JBoss 4.0 and Tomcat 4.1) are bundled in the distribution), and extracted its contents,  do the following steps:


1.      Ensure that you have JDK 1.4 (or later) installed. (Go to:  http://java.sun.com/j2se/1.4)

2.   Define the following environment variables. These variables are required for running all XFlow examples and applications: 
          JAVA_HOME  - this is the root directory for jdk1.4 e.g. c:\j2sdk1.4.0

          XFLOW    - this is the root directory for xflow

3.      Run the JBoss Server:  <xflow>\jboss4.0\bin\run   (replace <xflow> with the XFlow root directory e.g. c:\xflow1.0)
It takes on the average 90 seconds to start up.

3.      You are now ready to run the XFlow examples. See XFlow Quickstart.


Note: By default, the JBoss server uses port 1701 for the hsql database server, 1099 for the naming server and 8080 for the servlet container.


Building from source


XFlow uses ant for builds. You may download ant at:  http://ant.apache.org
To build from source, do the following steps:


  1. cd <xflow>               (replace <xflow> with XFlow root directory e.g. c:\xflow1.0)
  2. tools\setclasspath
  3. ant xflow-jar
  4. deployJar
  5. ant webservices
  6. deployWebServices