You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ra...@apache.org on 2011/08/01 15:59:01 UTC
svn commit: r1152780 - in /incubator/airavata/trunk/xregistry: README.txt
pom.xml
Author: raminder
Date: Mon Aug 1 13:59:00 2011
New Revision: 1152780
URL: http://svn.apache.org/viewvc?rev=1152780&view=rev
Log:
changed the properties in pom and add setups to configure MySQL in README.txt
Modified:
incubator/airavata/trunk/xregistry/README.txt
incubator/airavata/trunk/xregistry/pom.xml
Modified: incubator/airavata/trunk/xregistry/README.txt
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/xregistry/README.txt?rev=1152780&r1=1152779&r2=1152780&view=diff
==============================================================================
--- incubator/airavata/trunk/xregistry/README.txt (original)
+++ incubator/airavata/trunk/xregistry/README.txt Mon Aug 1 13:59:00 2011
@@ -17,3 +17,16 @@ The XRegistry service is compiled using
mvn clean install
cd target/dist-bin
./xregistry.sh xregistry.properties
+
+To configure MySQL server for production purpose.
+
+While building service
+uncomment mysql dependency in pom.xml
+Change databaseDriver and databaseUrl in pom.xml and rebuild by mvn clean install
+
+After build
+Download the mysql driver "mysql-connector-java" and copy it to target/dist-bin/lib
+Update xregistry.properties for jdbcDriver and databaseUrl.
+cd target/dist-bin
+./xregistry.sh xregistry.properties
+
Modified: incubator/airavata/trunk/xregistry/pom.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/xregistry/pom.xml?rev=1152780&r1=1152779&r2=1152780&view=diff
==============================================================================
--- incubator/airavata/trunk/xregistry/pom.xml (original)
+++ incubator/airavata/trunk/xregistry/pom.xml Mon Aug 1 13:59:00 2011
@@ -50,12 +50,12 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
- <!--
<databaseDriver>org.apache.derby.jdbc.EmbeddedDriver</databaseDriver>
<databaseUrl>jdbc:derby:xregistry;create=true</databaseUrl>
- -->
+ <!-- MySQL properties
<databaseDriver>com.mysql.jdbc.Driver</databaseDriver>
<databaseUrl>jdbc:mysql://localhost:3306/xregistry_ogce?user=xreg_ogce&password=xreg_pass</databaseUrl>
+ -->
<xregistry.typesVersion>0.8.3</xregistry.typesVersion>
<dist.dir>${basedir}/target/dist-bin/</dist.dir>
<port>6666</port>