Provenance Collection and Visualization Tool
Komadu is a redesign of Karma (OPM based provenance implementation) which supports the W3C PROV specification. It comes with a new Client API which aligns with the W3C PROV standards. This Client API is more generalized and supports capturing any kind of provenance.
Following is a quick start guide for Komadu. More information can be found in docs/KomaduUserGuide.pdf.
- Apache Maven 3.0 or higher
- MySQL database server 5.1
- MySQL Connector/JDBC 5.1 or higher
- JDK 1.6 or higher
- Apache XML Beans 2.3.0
- Apache Tomcat 6.0.x or higher
- Apache Axis2 1.6.2
-
Download ProvToolbox-0.4.0 from https://github.com/lucmoreau/ProvToolbox/releases. Build (mvn clean install) prov-model and prov-xml modules under it using Maven.
-
Check out the Komadu code from the git repository. git clone https://github.iu.edu/isuriara/komadu.git komadu
-
Edit the services.xml file found under service-core-aar/src/main/resources/META-INF and set the correct path in the "komadu.properties.file.path" parameter.
-
Build Komadu. You have to skip the test cases till we deploy Komadu on Tomcat. mvn clean install -Dmaven.test.skip=true
-
Log into MySQL as admin mysql -u root -p
-
Create Komadu Database CREATE DATABASE komadu;
-
Grant permissions GRANT ALL ON komadu.* TO 'komaduuser'@'localhost' IDENTIFIED BY 'komadupwd'; GRANT SELECT ON mysql.proc TO 'komaduuser'@'localhost';
-
Execute the Komadu database schema mysql -u root -p karma < {komadu_checkout_path}/service-core/config/komadu_db_schema.sql
Edit the "komadu.properties" file at the path that you set in the services.xml and configure the following required parameters. log4j.properties.path database.location database.username database.password
- Download Apache Axis2 1.6.2 war file and extract it.
- Copy it to {your_tomcat_home}/webapps directory and start Tomcat once and then shut it down.
- Copy {komadu_checkout_path}/service-core-aar/target/komadu-service-1.0.aar file to {your_tomcat_home}/webapps/axis2/WEB-INF/services directory.
- Download and copy mysql-connection-java-5.1.x-bin.jar to {your_tomcat_home}/lib
- Create a directory {your_tomcat_home}/endorsed and copy following 2 jar files into it. You can find these
jars in your local maven repository.
{your_home}/.m2/repository/javax/xml/bind/jaxb-api/2.2.4/jaxb-api-2.2.4.jar
{your_home}/.m2/repository/com/sun/xml/bind/jaxb-impl/2.1.10/jaxb-impl-2.1.10.jar - Start Tomcat.
Once you have successfully deployed Komadu on Tomcat, you can execute the test cases through maven.
- Move into axis2-client-core
- Execute the command 'mvn clean install -o'