Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cosmos-dev] Re: COSMOS eclipsecon07 Demo Instructions


Sheldon,

All but these steps:

14.  Click on the "Production" Link.  Then click the "Properties" link on "Machine 1".  At this point there should be a statistical link on the Properties report.  This will open the statistical report.
15.  Go back to the root report.  Click on the "Production" Link. Then click the "Machine 2" link.  Then click the "Properties" link on"WindowServer1".   At this point there should be a Top 10 link on the Properties report.  This will open the Top 10 report.

have been already automated/described in this section http://wiki.eclipse.org/index.php/COSMOSEcliseCon2007Demo#demo_v02.

I'll update the zip file with the automated setup with the latest plugins URL.

I'm currently running without any problem against the latest TPTP build and its dependencies.

The one that you point at are pretty old versions of the TPTP dependencies.

I'll update the DMS code to parse the datasource then we can install the driver in any location, although if the driver is installed in C:\COSMOS-Demo-EclipseCon2007\ as described in the instructions you don't need to change anything in the driver code/configuration, basically the whole setup can be done automatically.

Thanks !

Marius Slavescu
IBM Toronto Laboratory, Canada
Phone: 905-413-3610





Sheldon Lee-Loy/Toronto/IBM

02/21/2007 08:12 PM

To
<cthomas@xxxxxxxxxxxxxxxxxxxxxxxx>, Hubert H Leung/Toronto/IBM@IBMCA, <weitzelm@xxxxxxxxxx>, Marius Slavescu/Toronto/IBM@IBMCA, <cosmos-dev@xxxxxxxxxxx>, "Vsevolod Sandomirskiy" <vss@xxxxxxxxxxxxx>, <peter.dorfman@xxxxxxxxxx>, "Hawkins, Joel" <Joel.Hawkins@xxxxxxxxxxxxx>
cc
Subject
COSMOS eclipsecon07 Demo Instructions




Hi All,

Here are the instructions to run the COSMOS eclipsecon demo.    Let me know if you have any problems running the demo.  Note: there are some hard coded paths that have to be modified.  We are currently making modifications to make this configuration much easier.  

Download
=========
SUN JRE 1.5
Eclipse 3.2.1 - http://fullmoon.torolab.ibm.com/downloads/drops/R-3.2.1-200609210945/download.php?dropFile=eclipse-SDK-3.2.1-win32.zip
EMF 2.2.1 - http://download.eclipse.org/modeling/emf/emf/downloads/drops/2.2.1/R200609210005/emf-sdo-xsd-SDK-2.2.1.zip
GEF 3.2 - http://download.eclipse.org/tools/gef/downloads/drops/R-3.2.1-200609211617/GEF-runtime-3.2.1.zip
BIRT 2.1.1 - http://download.eclipse.org/birt/downloads/drops/R-R1-2_1_1-200609260959/birt-report-framework-2_1_1.zip
TPTP 4.4 - http://www.eclipse.org/downloads/download.php?file=/tptp/4.4.0/dev/TPTP-4.4.0-200702210100/tptp.platform.runtime-TPTP-4.4.0-200702210100.zip
Download Derby - 10.2.2.0 - http://mirror.cc.columbia.edu/pub/software/apache/db/derby/db-derby-10.2.2.0/db-derby-10.2.2.0-bin.zip
Download sample database - http://wiki.eclipse.org/images/0/0f/COSMOS-EclipseCon2007Demo-log_stat-sample-Apache_Derby-db.zip

Checkout from CVS
=================
Host: dev.eclipse.org
Repository: /cvsroot/tptp
Module: platform/org.eclipse.tptp.platform.models

Host: dev.eclipse.org
Repository: /cvsroot/technology
Module:org.eclipse.cosmos/examples/eclipseCon07/org.eclipse.cosmos.examples.eclipsecon07.repository


Host: dev.eclipse.org
Repository: /cvsroot/technology
Module:org.eclipse.cosmos/examples/eclipseCon07/org.eclipse.cosmos.examples.eclipsecon07.reports.oda


Host: dev.eclipse.org
Repository: /cvsroot/technology
Module:org.eclipse.cosmos/examples/eclipseCon07/org.eclipse.cosmos.examples.eclipsecon07.reports.templates


Steps to run
=============
1. Start up eclipse.
2. Open org.eclipse.cosmos.examples.eclipsecon07.reports.oda\src\org\eclipse\cosmos\dr\reports\oda\ResourcesDataAccessor.java
3. Modify the following line to point to the correct xml file location.
        private static String SML_RESOURCES_FOLDER =
"file:///c|/COSMOS-Demo-EclipseCon2007/eclipse/demo/org.eclipse.cosmos.examples.eclipsecon07.repository/topologies/";

4. Open org.eclipse.tptp.platform.models\src-dms\org\eclipse\tptp\platform\internal\dms\log\impl\RDBLogDataStoreManager.java
5. Modify the following line to point to the correct derby jar file location.
       
jdbcHelper.setURLString("file:/c:/COSMOS-Demo-EclipseCon2007/derby/db-derby-10.2.2.0-bin/lib/derbyclient.jar");

6. Open org.eclipse.tptp.platform.models\src-dms\org\eclipse\tptp\platform\internal\dms\statistical\impl\RDBStatisticalDataStoreManager.java
7. Modify the following line to point to the correct derby jar file location.
       
jdbcHelper.setURLString("file:/c:/COSMOS-Demo-EclipseCon2007/derby/db-derby-10.2.2.0-bin/lib/derbyclient.jar");

8. unzip sample data under %DERBY_INSTALL%\frameworks\NetworkServer\bin
9. Run %DERBY_INSTALL%\frameworks\NetworkServer\bin\setNetworkServerCP.bat.
Note: you will need to modify the script to point to the DERBY_INSTALL directory
10. Run %DERBY_INSTALL%\frameworks\NetworkServer\bin\startNetworkServer.bat.
Note: you will need to modify the script to point to the DERBY_INSTALL directory
11. In your eclipse workspace expand to:
org.eclipse.cosmos.examples.eclipsecon07.reports.templates > templates
12. Open cosmos-nodes.rptdesign in the Report Editor.
13. Click the "Preview" tab in the Report Editor.  At this point you should be able to navigate the topology and view the properties pages.
14.  Click on the "Production" Link.  Then click the "Properties" link on "Machine 1".  At this point there should be a statistical link on the Properties report.  This will open the statistical report.
15.  Go back to the root report.  Click on the "Production" Link. Then click the "Machine 2" link.  Then click the "Properties" link on"WindowServer1".   At this point there should be a Top 10 link on the Properties report.  This will open the Top 10 report.

Thanks,

Sheldon


Back to the top