You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by hi...@apache.org on 2010/09/26 09:25:52 UTC

svn commit: r1001375 - in /synapse/branches/2.0: repository/conf/sample/synapse_sample_364.xml src/site/xdoc/Synapse_Samples.xml

Author: hiranya
Date: Sun Sep 26 07:25:51 2010
New Revision: 1001375

URL: http://svn.apache.org/viewvc?rev=1001375&view=rev
Log:
Documentation update


Modified:
    synapse/branches/2.0/repository/conf/sample/synapse_sample_364.xml
    synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml

Modified: synapse/branches/2.0/repository/conf/sample/synapse_sample_364.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/repository/conf/sample/synapse_sample_364.xml?rev=1001375&r1=1001374&r2=1001375&view=diff
==============================================================================
--- synapse/branches/2.0/repository/conf/sample/synapse_sample_364.xml (original)
+++ synapse/branches/2.0/repository/conf/sample/synapse_sample_364.xml Sun Sep 26 07:25:51 2010
@@ -18,7 +18,7 @@
   ~  under the License.
   -->
 
-<!-- Action of dbreport and dblookup mediators together -->
+<!-- Action of dbreport and dblookup mediators together with stored procedures -->
 <definitions xmlns="http://synapse.apache.org/ns/2010/04/configuration">
 
     <sequence name="main">
@@ -39,9 +39,9 @@
                 <connection>
                     <pool>
                         <driver>com.mysql.jdbc.Driver</driver>
-                        <url>jdbc:mysql://localhost/synapsedb</url>
-                        <user>root</user>
-                        <password>admin</password>
+                        <url>jdbc:mysql://localhost:3306/synapsedb</url>
+                        <user>user</user>
+                        <password>password</password>
                     </pool>
                 </connection>
                 <statement>
@@ -61,9 +61,9 @@
                 <connection>
                     <pool>
                         <driver>com.mysql.jdbc.Driver</driver>
-                        <url>jdbc:mysql://localhost/synapsedb</url>
-                        <user>root</user>
-                        <password>admin</password>
+                        <url>jdbc:mysql://localhost:3306/synapsedb</url>
+                        <user>user</user>
+                        <password>password</password>
                     </pool>
                 </connection>
                 <statement>

Modified: synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml
URL: http://svn.apache.org/viewvc/synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml?rev=1001375&r1=1001374&r2=1001375&view=diff
==============================================================================
--- synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml (original)
+++ synapse/branches/2.0/src/site/xdoc/Synapse_Samples.xml Sun Sep 26 07:25:51 2010
@@ -3796,11 +3796,13 @@ instructions given in the 'Setting up My
 <p>
 <strong>Objective: Demonstrate the use of dblookup and dbreport mediators to execute a database Stored Procedures</strong></p>
 <p>
-<strong>Prerequisites:</strong>Set up MySQL database server according to the
-<a href="Synapse_Samples_Setup.html#mysql">sample setup guide</a>. Edit the synapse_sample_364.xml
-configuration file and update the configuration with the appropriate database connection details.</p>
-<p>Start the Synapse configuration numbered 364: i.e. synapse -sample 364</p>
-<p>Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p>
+<strong>Prerequisites:</strong>
+<br/>Set up MySQL database server according to the
+<a href="Synapse_Samples_Setup.html#mysql">sample setup guide</a>
+<br/>Edit the synapse_sample_364.xml
+configuration file and update the configuration with the appropriate database connection details
+<br/>Start the Synapse configuration numbered 364: i.e. synapse -sample 364
+<br/>Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p>
 <p>Run the client as follows</p>
 <pre>ant stockquote -Daddurl=http://localhost:9000/services/SimpleStockQuoteService -Dtrpurl=http://localhost:8280/ -Dsymbol=IBM</pre>
 <p>Then you will get the following console output </p>