Jetty

Installation of CloverETL Server

  1. Download the web archive file (clover.war) containing the CloverETL Server application which is built for Jetty.

  2. Check if prerequisites are met:

    • JDK or JRE version 1.6.x or higher

    • Jetty 6.1.x - only this particular version is supported

      All jetty-6 releases are available from http://jetty.codehaus.org/jetty/. As of Jetty 7, there have been huge differences in distribution packages as it is distributed by Eclipse foundation. Jetty 7 is not supported.

  3. Copy clover.war to [JETTY_HOME]/webapps.

  4. Create a context file clover.xml in [JETTY_HOME]/contexts and fill it with the following lines:

    <?xml version="1.0"  encoding="ISO-8859-1"?>
    <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
    <Configure class="org.mortbay.jetty.webapp.WebAppContext">
    	<Set name="contextPath">/clover</Set>
    	<Set name="war"><SystemProperty name="jetty.home" default="."/>/webapps/clover.war</Set>
    </Configure>
    				

    clover.xml will be detected by Jetty and the application will be loaded automatically.

  5. Run [JETTY_HOME]/bin/jetty.sh start. (or [JETTY_HOME]/bin/Jetty-Service.exe on windows OS)

You can check if the server is running e.g. on http://localhost:8080/test/.

Installation of CloverETL Server license

In order to execute graphs, CloverETL Server requires a valid license file. Despite that, you can install CloverETL Server without a license, but no graph will be executed.

  1. Get the license.dat file.

  2. Set the CloverETL Server license.file parameter to the path to license.dat.

    There are more ways how to achieve this. The most direct way is to create an environment or a system property called clover_license_file (see Chapter 16, Configuration for a description of all possibilities).

    If you are using Linux, follow these instructions:

    • Edit [JETTY_HOME]/bin/jetty.sh

    • Add a new line:

      export clover_license_file=[absolute_path_to_license_file]/license.dat
    • Restart Jetty.

[Note]Note

CloverETL license can be changed any time by replacing the license.dat file. Afterwards, you have to let CloverETL Server know the license has changed.

  • Go to server web GUIMonitoringLicense

  • Click Reload license.

  • Alternatively, you can restart the CloverETL Server application.