Siebel Analytics Installation and Configuration Guide > Configuring Siebel Analytics in the UNIX Environment >

Creating a WebARchive (WAR) File for Siebel Analytics Web


This task is part of the Process of Configuring the Analytics Web and HTTP Servers (UNIX).

The specific WAR file you create depends on the Web application server you are using.

NOTE:  You may need to have access to a JDK (not just a JRE) for creating the WAR file.

To create a WAR file

  1. Stop the Web server.
  2. Start a shell session to the machine that has Siebel Analytics Web installed.
  3. Navigate to the Siebel Analytics installation directory.

    For example: /usr/local/SiebelAnalytics

    NOTE:  The following examples use Bourne shell syntax and assume Java is installed at
    /usr/java14.

  4. Use one of the following commands to determine the JAVA_HOME environment value:

    set | grep JAVA_HOME

    or

    echo $JAVA_HOME

  5. Set the JAVA_HOME environment variable to the root of your Java installation:

    JAVA_HOME=/usr/java14; export JAVA_HOME

  6. Run the jar command to create the WAR file:

    $JAVA_HOME/bin/jar cf Analytics.war -C web/app .

    NOTE:  You must include the period at the end of the command.

Siebel Analytics Installation and Configuration Guide