Overview

To start experimenting with Davisor Chart, the download package contains "chart.war" demo web application. It contains JSP and HTML pages for general information, documentation and working examples. In the download package there is also a separate mobitone.zip file that contains data for database example.

You can install the "chart.war" file directly on your favorite application server. We have provided instructions for the most popular application servers. Once the application is installed, browse to "http://localhost:yourport/chart". Note that some application servers must be restarted after the application is deployed. Some examples require a database.

If you don't want to install the "chart.war" as an application, you can alternatively extract the "chart.war" file with your favorite zip tool, or using the jar tool: "jar xf chart.war". After extracting the file, you can begin "off-line" browsing from "index.html" file, which is extracted from the "chart.war" file. The class codes of Davisor Chart are located at "/WEB-INF/lib/davisorchart.jar".

There are a few documents that are recommended for reading and examples worth seeing. These documents and examples can be accessed through the start page, which is "http://localhost:yourport/chart" or "index.html" for installed application or "off-line" browsing, respectively, as described in previous paragraphs.

Requirements

Deployment to server

Apache Tomcat 4.x

Copy the "chart.war" file to "webapps/" directory in the Tomcat installation directory.
Restart the server.
 
Now you can browse to "http://localhost:8080/chart"

(Tomcat 3.x is not JSP 1.2, servlet 2.3 compatible)

Bea WebLogic 7.x, 8.x

  1. Start the WebLogic Server Console.
  2. Select the "Deployments/Web Applications" node
  3. Select the "Configure a new Web Application…" link
  4. Go through steps 1-5:
    1. Step 1: Click "upload it through your browser" link. In the opened screen, enter the location of the "chart.war" file (or browse it) and press the "Upload" button.
    2. Step 2: Click the "[select]" link left to "chart.war".
    3. Step 3: Move one of the available servers to target servers box.
    4. Step 4: Use the default name "chart".
    5. Step 5: Click "Configure and deploy".
  5. Once the war has been deployed browse to http://localhost:7001/chart

Note that the "file output" example will not work when Chart is deployed as ".war". To deploy Chart as directory, do the following:

  1. Create a folder for chart, e.g. "C:\chart"
  2. Unzip the chart.war into that folder (retain the folder structure)
  3. In the "Configure a new Web application…" screen go through steps 2-5, but in step 2, select the folder where you unzipped the chart.war (in this case "C:\chart").
  4. Once the war has been deployed browse to http://localhost:7001/chart

IBM WebSphere 5.0.2

  1. Start Websphere admin console (start server, an browse to http://localhost:9090/admin/)
  2. Select Nodes/host/Enterprise Applications
  3. Click install
  4. In Application Installation Wizard, click browse
  5. Select "chart.war"
  6. Enter context root "chart"
  7. Click next (multiple times) and finish
  8. Save the configuration
  9. Start Chart web application
  10. Browse to http://localhost:9080/chart/

JBoss 3.x

Copy the "chart.war" file to "server/default/deploy" directory in the JBoss installation directory.

Oracle9iAS Containers for J2EE 9.0.3

Copy the "chart.war" file to the "j2ee/home/applications/" directory in the Oracle installation directory.

Add following line to "config/application.xml" file:
<web-module id="chart" path="../applications/chart.war" />

Add following line to "config/default-web-site.xml" file:
<web-app application="default" name="chart" root="/chart"/>

Now you can browse to "http://localhost:8888/chart"

OrionServer 2.x

Copy the "chart.war" file to the "applications/" directory in the Orion installation directory.

Add following line to "config/application.xml" file:
<web-module id="chart" path="../applications/chart.war" />

Add following line to "config/default-web-site.xml" file:
<web-app application="default" name="chart" root="/chart"/>

Now you can browse to "http://localhost/chart"