You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by da...@apache.org on 2007/04/26 19:27:07 UTC

svn commit: r532809 - /webservices/sandesha/trunk/c/INSTALL

Author: damitha
Date: Thu Apr 26 10:27:06 2007
New Revision: 532809

URL: http://svn.apache.org/viewvc?view=rev&rev=532809
Log:
INSTALL document updated

Modified:
    webservices/sandesha/trunk/c/INSTALL

Modified: webservices/sandesha/trunk/c/INSTALL
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/INSTALL?view=diff&rev=532809&r1=532808&r2=532809
==============================================================================
--- webservices/sandesha/trunk/c/INSTALL (original)
+++ webservices/sandesha/trunk/c/INSTALL Thu Apr 26 10:27:06 2007
@@ -7,23 +7,36 @@
           install.
     - Go to Sandesha2C source directory
     - Run configure with AXIS2 include path.
-        ./configure --prefix=<axis2c_install_path>/modules --enable-static=no --with-axis2=<axis2c_install_path>
+        ./configure --prefix=<axis2c_install_path> --enable-static=no --with-axis2=<axis2c_install_path>
     - Run make and make install
    
 Note: 1.
-        Sandesha2 has two main storage mechanisms call inmemory and persistent. 
-        By default sandesha2 use the sqlite as the persistent storage. You can
-        change this to inmemory by changing the entry in the sandesha2_constants.h
+        Sandesha2 has two main storage mechanisms call inmemory and persistent. The persistent storage could use
+        either sqlite or mysql as it's database manager.
+        By default sandesha2 use the persistent storage with sqlite as the database. 
+        It is assumed that sqlite3.h in /usr/include include directory. If you have different include path for
+        sqlite3.h then add the configure option --with-sqlite=<sqlite include file path> to the configure options
+        above. If is assumed that libsqlite3.so is in the /usr/lib folder
+
+        if you want to use the inmemory storage instead, change the entry in the sandesha2_constants.h
         file.
-            #define SANDESHA2_DEFAULT_STORAGE_MGR "persistent"
+            #define SANDESHA2_DEFAULT_STORAGE_MGR "persistent" as
+            #define SANDESHA2_DEFAULT_STORAGE_MGR "inmemory".
+
+        If you want to use persistent storage with mysql then add the option --with-mysql=<mysql include file path>
+        to the configure options above. It is assumed that libmysqlclient.so is in /usr/lib folder. It is recommended
+        to use mysql database for serius use. It is not included as as the default database because of licencing issues.
 
-            You must have sqlite3.h in sandesha2 include directory.
-            When compiling it statically link with sqlite library. So make sure you have
-            src/core/libsqlite3.a.
-            Above configurations regarding sqlite may be refined before the release.
-        
       2.
-       To run samples in persistent mode copy sandesha2c/config/sandesha2_schema.sh
-       to both axis2c client and server deploy directory and execute it to create the database schema.
+       To run samples in persistent/mysql mode copy sandesha2c/config/mysql_schema.sh and sandesha2c/config/init_mysql.sh
+       to axis2c deploy directory and execute it to create the database schema. The username/password combination for
+       mysql is assumed to be g/g
+
+       To run samples in persistent/sqlite mode copy sandesha2c/config/sqlite_schema.sh to axis2c deploy directory and 
+       execute it to create the database schema. sqlite3 is an embedded database which need no configuration.
        
-                
+      3.
+       Sandesha2 module is installed into <axis2c_install_path>/modules/sandesha2c directory. The installed module contain
+       libsandesha2.so, module.xml and header files. The sample clients are installed into <axis2c_install_path>/bin/samples
+       directory. Sample services are installed into <axis2c_install_path>/services directory.
+



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org