Jump to: navigation, search

Difference between revisions of "COSMOS SDK Installation"

(Download COSMOS Demo and Prerequisites)
(Installing COSMOS Web applications and Web Services)
Line 15: Line 15:
 
# Unzip Dojo to a separate directory.
 
# Unzip Dojo to a separate directory.
  
=== Installing COSMOS Web applications and Web Services ===
+
=== Configuring the COSMOS SDK  ===
COSMOS comes with a program that helps install and configure the web applications and web services required for the demonstrationThe install program is located at <cosmos-demo>\bin. Run configDemo.bat or configDemo.sh to start the install program on Windows and Linux respectivelyThe install program assumes your <cosmos-demo> directory and the tomcat installation are on the same host.
+
Before creating a MDR the you must set some configuration options in the preference page.   
 
+
# Start up eclipse.
The configDemo program accepts 5 parameters.  They are:
+
# Open the preference page by selecting Windows>PreferencesIn the preference dialog select "Web Services>Axis2 Preferences".
# tomcatDir: Apache Tomcat install directory <tomcat_install_dir>
+
# Enter the axis 2 directory in the "Axis2 runtime location" text box.
# cosmosDir: COSMOS Demo install directory <cosmos-demo>
+
# Next select "System Management>Web UI Viewer" in the preference dialog box. Specify the location of the Dojo.js file in the "Dojo.xd.js URL Location" text box. Set the location of the dojo.js file that you unzipped in a specific directory. Or you can specify the AOL reference link http://o.aolcdn.com/dojo/1.1.0/dojo/dojo.xd.js. Note that this will get the dojo javascript files from the web instead of the local computer.
# birt: path to BIRT Runtime zip file (download from step 4 above)
+
# dojo: path to dojo zip file (download from step 5 above)
+
# axis2war: (optional) Path to the axis2.war file (downloaded from step 3 above)
+
 
+
You will see something like the following in a successful execution of the config program.
+
<pre>
+
Unzipping c:\Program Files\apache-tomcat-5.5.26\webapps_backup4\axis2.war to c:\
+
Program Files\apache-tomcat-5.5.26\webapps\axis2...
+
Installed axis2 on Apache Tomcat server.
+
Installed web application: COSMOSReportViewer
+
Installed web application: COSMOSUI
+
Unzipping c:\dev\birt-runtime-2.3.zip to c:\Program Files\apache-tomcat-5.5.26
+
\webapps/COSMOSReportViewer...
+
Unzipped BIRT to COSMOSReportViewer
+
Copied BIRT web viewer example to COSMOSReportViewer
+
Unzipping c:\dev\dojo-release-1.1.0.zip to c:\Program Files\apache-tomcat-5.5.26
+
\webapps/COSMOSUI...
+
Unzipped dojo to COSMOSUI.
+
Installed web service: AperiMdr
+
Installed web service: Broker
+
Installed web service: ExampleMdr
+
Installed web service: LoggingDataManager
+
Installed web service: ServiceFinder
+
Installed web service: SMLMDR
+
Installed web service: StatDataManager
+
Installed web service: TestFederatingCMDB
+
Copied axis jar files to COSMOSUI.
+
Copied axis jar files to COSMOSReportViewer.
+
Copied axis jar files to cosmos client.
+
Updated axis2.xml.
+
Updated services.xml for SML MDR.
+
Updated services.xml for statistical MDR.
+
Installed broker database to c:\Program Files\apache-tomcat-5.5.26\webapps\axis2
+
\WEB-INF\database/brokerdb.xml
+
</pre>
+
 
+
  
 +
Once you have configured the SDK you can create a MDR by following the [http://wiki.eclipse.org/COSMOS_DG_Constructing_a_Data_Manager Constructing a Data Manager] section in the development guide.
 
   
 
   
 
[[Category: COSMOS]]
 
[[Category: COSMOS]]

Revision as of 12:58, 29 August 2008

This page provides instructions on how to install and run the COSMOS demo for i12.

Objective of the SDK

The COSMOS SDK provides the eclipse-based tooling to construct a Management Data Repository (MDR).

Installation

Download COSMOS Demo and Prerequisites

This section provides instructions for installing and running the demo program that is provided in the COSMOS i12 build.

  1. Install Tomcat 5.5.26. The directory where the Tomcat server is installed will be referred to as the <tomcat_install_dir> in this document.
  2. From the COSMOS download page, click on the link of the latest candidate build for i13. Download the zip file under the "COSMOS SDK" section.
  3. Download the prerequisites for the SDK as specified on the download page (i.e.. Dojo, tomcat, axis2, wtp, eclipse, emf, xsd, and gef)
  4. Unzip Eclipse SDK to a directory along with wtp, emf, xsd, gef and the COSMOS SDK.
  5. Unzip Tomcat to a separate directory.
  6. Unzip Dojo to a separate directory.

Configuring the COSMOS SDK

Before creating a MDR the you must set some configuration options in the preference page.

  1. Start up eclipse.
  2. Open the preference page by selecting Windows>Preferences. In the preference dialog select "Web Services>Axis2 Preferences".
  3. Enter the axis 2 directory in the "Axis2 runtime location" text box.
  4. Next select "System Management>Web UI Viewer" in the preference dialog box. Specify the location of the Dojo.js file in the "Dojo.xd.js URL Location" text box. Set the location of the dojo.js file that you unzipped in a specific directory. Or you can specify the AOL reference link http://o.aolcdn.com/dojo/1.1.0/dojo/dojo.xd.js. Note that this will get the dojo javascript files from the web instead of the local computer.

Once you have configured the SDK you can create a MDR by following the Constructing a Data Manager section in the development guide.