[Carbon-dev] svn commit r31298 - trunk/registry/docs/xdoc

dimuthu at wso2.com dimuthu at wso2.com
Mon Feb 23 01:27:33 PST 2009


Author: dimuthu
Date: Mon Feb 23 01:27:32 2009
New Revision: 31298
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=31298

Log:
correcting embedded custom db setup guide

Modified:
   trunk/registry/docs/xdoc/db_derby.xml

Modified: trunk/registry/docs/xdoc/db_derby.xml
URL: http://wso2.org/svn/browse/wso2/trunk/registry/docs/xdoc/db_derby.xml?rev=31298&r1=31297&r2=31298&view=diff
==============================================================================
--- trunk/registry/docs/xdoc/db_derby.xml	(original)
+++ trunk/registry/docs/xdoc/db_derby.xml	Mon Feb 23 01:27:32 2009
@@ -97,6 +97,14 @@
 
 <h1 id="remote">Setting up Database - Derby Remote</h1>
 
+<h2 id="prepare_remote">Preparing the Derby Database</h2>
+<ol>
+<li>Download and install Apache Derby in you computer, if it is not already done.
+</li>
+<li>Goto the &lt;derby-installation directory&gt;/bin directory and run the derby network 
+    server starting script. Usually this is named as &quot;startNetworkServer&quot;.</li>
+</ol>
+
 
 <h2 id="conf_remote">Setup Configuration Files</h2>
 <ol>
@@ -183,10 +191,10 @@
         </p>
 
         <p>
-          wso2server.sh -Dsetup
+          wso2server.sh -Dsetup (in linux)
         </p>
         <p>
-          wso2server.bat -Dsetup
+          wso2server.bat -Dsetup (in windows)
         </p>
       </li>
       <li>
@@ -206,7 +214,7 @@
             below command to suite your requirements).
         </p>
         <p>
-            connect 'jdbc:derby://localhost:1527/db;user=regadmin;password=regadmin;create=true'
+            connect 'jdbc:derby://localhost:1527/db;user=regadmin;password=regadmin;create=true';
         </p>
     </li>
     <li>
@@ -244,12 +252,10 @@
 <h1 id="embedded">Setting up Database - Derby - Embedded</h1>
 
 
-<h2 id="preparing_embedded">Preparing the Derby Database</h2>
+<h2 id="prepare_embedded">Preparing the Derby Database</h2>
 <ol>
 <li>Download and install Apache Derby in you computer, if it is not already done.
 </li>
-<li>Goto the &lt;derby-installation directory&gt;/bin directory and run the derby network 
-    server starting script. Usually this is named as &quot;startNetworkServer&quot;.</li>
 </ol>
 
 <h2 id="conf_embedded">Setup Configuration Files</h2>
@@ -263,7 +269,7 @@
 <pre>
     &lt;currentConfig&gt;derby-db&lt;/currentConfig&gt;
         &lt;dbconfig name="derby-db"&gt;
-            &lt;url&gt;<strong>jdbc:derby:database/WSO2CARBON_DB</strong>&lt;/url&gt;
+            &lt;url&gt;<strong>jdbc:derby:database/WSO2CARBON_DB;create=true</strong>&lt;/url&gt;
             &lt;userName&gt;<strong>regadmin</strong>&lt;/userName&gt;
             &lt;password&gt;<strong>regadmin</strong>&lt;/password&gt;
             &lt;driverName&gt;<strong>org.apache.derby.jdbc.EmbeddedDriver</strong>&lt;/driverName&gt;
@@ -361,8 +367,11 @@
             below command to suite your requirements).
         </p>
         <p>
-            connect 'jdbc:derby://localhost:1527/db;user=regadmin;password=regadmin;create=true'
-        </p>
+            connect 'jdbc:derby:database/WSO2CARBON_DB;create=true'; 
+    </p>
+    <p>
+	    <em>NOTE: Here you need to give the full path to your registry database in place of "/WSO2CARBON_DB"</em>
+    </p>
     </li>
     <li>
         <p>
@@ -394,10 +403,10 @@
     </li>
     <li><p>start the wso2 registry instance.</p>
         <p>
-            wso2server.sh
+            wso2server.sh (in linux)
         </p>
         <p>
-          wso2server.bat
+          wso2server.bat (in windows)
         </p>
 
         <p>Now WSO2 Registry is running using the embedded Apache
@@ -405,4 +414,4 @@
     </li>
 </ol>
 </body>
-</html>
\ No newline at end of file
+</html>



More information about the Carbon-dev mailing list