3.2. Orchestra Tomcat distribution
Prev | Chapter 3. Installation guide | Next

## 3.2. Orchestra Tomcat distribution

### 3.2.1. Installation

Unzip the orchestra-cxf-tomcat distribution package.

    >unzip orchestra-cxf-tomcat-4.9.1.zip

A new directory `orchestra-cxf-tomcat-4.9.1` will be created. It contains an ant file to install and start Orchestra.

#### 3.2.1.1. Basic installation

Remark : Orchestra runs in Apache Tomcat servlet container. Tomcat 6.0.35 is delivered with the Orchestra Package.

To install Orchestra, go to orchestra directory and launch the install by running ant:

    >cd orchestra-cxf-tomcat-4.9.1
    >ant install

The install script installs Tomcat and Orchestra. The default installation activates the persistence using the H2 Database.

| Important
if your network is based on a proxy, please specify the proxy settings in your JAVA_OPTS environment property. The system properties to specify are described in the Java documentation.

#### 3.2.1.2. Advanced installation: Using another tomcat distribution.

Orchestra is shipped with a lightweight Apache Tomcat Servlet container. This section explains how to install Orchestra in an existing tomcat distribution.

The install.properties file in the conf directory contains the information used by Orchestra installation. The default content is:

    			catalina.home=${orchestra.dir}/tomcat
    			catalina.base=${catalina.home}

To use another tomcat installation, just update the catalina.home and catalina.base properties before calling:

    >ant install

The location of the environment.xml file to use for Orchestra engine can be defined in the java system property orchestra.environment.file

The location of the orchestra.properties file to use for Orchestra designer and console can be defined in the java system property orchestra.properties.file

Here are the default values for the two properties:

                    orchestra.properties.file=${current_dir}/conf/orchestra.properties
                    orchestra.environment.file=${current_dir}/conf/environment.xml

#### 3.2.1.3. Advanced installation: into JOnAS

Orchestra is shipped with a lightweight Apache Tomcat Servlet container. This section explains how to install Orchestra in a JOnAS Application Server.

##### 3.2.1.3.1. JOnAS 5

- Copy Orchestra conf into $JONAS_BASE/conf (copy all files from orchestra conf directory to $JONAS_BASE/conf).

- Copy jdbc jar driver into $JONAS_BASE/lib/ext

- In orchestra.properties, change orchestra.servlet.port value to your JOnAS's tomcat port configuration (cf $JONAS_BASE/conf/tomcat6-server.xml)

- Copy Orchestra war (available in orchestra lib/ directory) to $JONAS_BASE/deploy and start JOnAS

##### 3.2.1.3.2. JOnAS 4

- Delete or upgrade xml-apis.jar, xercesImpl.jar and xalan-xxx.jar from $JONAS_ROOT/lib/endorsed. These libraries are needed for J2EE compatibility, but JOnAS4 can run fine without them. JOnAS4 has old versions of these libraries, which creates incompatibility issues with Orchestra.

- Copy Orchestra conf into $JONAS_BASE/conf (copy all files from orchestra conf directory to $JONAS_BASE/conf).

- Copy jdbc jar driver into $JONAS_BASE/lib/ext

- In orchestra.properties, change orchestra.servlet.port value to your JOnAS's tomcat port configuration (cf $JONAS_BASE/conf/server.xml)

- Copy Orchestra war (available in orchestra lib/ directory) to $JONAS_BASE/webapps and start JOnAS

Prev | Up | Next
Chapter 3. Installation guide | Home | 3.2.2. Database Management