Author: ruwan Date: Wed Jan 28 10:32:43 2009 New Revision: 29895 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=29895
Log: changed the sample runnig command Modified: trunk/esb/java/docs/xdoc/samples_guide.xml Modified: trunk/esb/java/docs/xdoc/samples_guide.xml URL: http://wso2.org/svn/browse/wso2/trunk/esb/java/docs/xdoc/samples_guide.xml?rev=29895&r1=29894&r2=29895&view=diff ============================================================================== --- trunk/esb/java/docs/xdoc/samples_guide.xml (original) +++ trunk/esb/java/docs/xdoc/samples_guide.xml Wed Jan 28 10:32:43 2009 @@ -321,7 +321,7 @@ routing based on message properties or content.</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 1: i.e. wso2-esb -sample 1<br /> +Start the Synapse configuration numbered 1: i.e. wso2server -Desb.sample=1<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already deployed<br /> </p> @@ -375,7 +375,7 @@ of local properties set on a message instance</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 2: i.e. wso2-esb -sample 2<br /> +Start the Synapse configuration numbered 2: i.e. wso2server -Desb.sample=2<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done. </p> @@ -434,7 +434,7 @@ endpoints and sequences</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 3: i.e. wso2-esb -sample 3<br /> +Start the Synapse configuration numbered 3: i.e. wso2server -Desb.sample=3<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -520,7 +520,7 @@ sequence</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 4: i.e. wso2-esb -sample 4<br /> +Start the Synapse configuration numbered 4: i.e. wso2server -Desb.sample=4<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -605,7 +605,7 @@ </strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 5: i.e. wso2-esb -sample 5<br /> +Start the Synapse configuration numbered 5: i.e. wso2server -Desb.sample=5<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -638,7 +638,7 @@ <p><strong>Objective: Introduction to header, in (out) mediators</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 6: i.e. wso2-esb -sample 6<br /> +Start the Synapse configuration numbered 6: i.e. wso2server -Desb.sample=6<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -696,7 +696,7 @@ validate mediator</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 7: i.e. wso2-esb -sample 7<br /> +Start the Synapse configuration numbered 7: i.e. wso2server -Desb.sample=7<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -752,7 +752,7 @@ and the XSLT mediator</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 8: i.e. wso2-esb -sample 8<br /> +Start the Synapse configuration numbered 8: i.e. wso2server -Desb.sample=8<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -843,7 +843,7 @@ Registry</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 9: i.e. wso2-esb -sample 9<br /> +Start the Synapse configuration numbered 9: i.e. wso2server -Desb.sample=9<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -909,7 +909,7 @@ Registry</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 10: i.e. wso2-esb -sample 10<br /> +Start the Synapse configuration numbered 10: i.e. wso2server -Desb.sample=10<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done<br /> Start a second Axis2 server on http port 9001 and https port 9003 as follows: @@ -943,7 +943,7 @@ <p><strong>Objective: A full registry based configuration</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 11: i.e. wso2-esb -sample 11<br /> +Start the Synapse configuration numbered 11: i.e. wso2server -Desb.sample=11<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -976,7 +976,7 @@ <p><strong>Prerequisites:</strong><br /> Start the Axis2 server and deploy the SimpleStockQuoteService (Refer steps above)<br /> -Start the Synapse configuration numbered 1: i.e. wso2-esb -sample 1 </p> +Start the Synapse configuration numbered 1: i.e. wso2server -Desb.sample=1 </p> <p>This example invokes the one-way 'placeOrder' operation on the SimpleStockQuoteService using the custom client which uses the Axis2 @@ -1051,7 +1051,7 @@ <p><strong>Objective: POX to SOAP conversion</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 50: i.e. wso2-esb -sample 50 </p> +Start the Synapse configuration numbered 50: i.e. wso2server -Desb.sample=50 </p> <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -1112,7 +1112,7 @@ correlation</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 51: i.e. wso2-esb -sample 51<br /> +Start the Synapse configuration numbered 51: i.e. wso2server -Desb.sample=51<br /> Start the Axis2 server and deploy the MTOMSwASampleService if not already done </p> @@ -1262,7 +1262,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start ESB with sample configuration 52. (i.e. wso2-esb -sample 52) </p> +<p>Start ESB with sample configuration 52. (i.e. wso2server -Desb.sample=52) </p> <p>Deploy the LoadbalanceFailoverService by switching to <ESB installation directory>/samples/axis2Server/src/LoadbalanceFailoverService directory @@ -1373,7 +1373,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start ESB with sample configuration 53 (i.e. wso2-esb -sample 53) </p> +<p>Start ESB with sample configuration 53 (i.e. wso2server -Desb.sample=53) </p> <p>Deploy the LoadbalanceFailoverService and start three instances of sample Axis2 server as mentioned in sample 52. </p> @@ -1475,7 +1475,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start ESB with sample configuration 54 (i.e. wso2-esb -sample 54). </p> +<p>Start ESB with sample configuration 54 (i.e. wso2server -Desb.sample=54). </p> <p>Deploy the LoadbalanceFailoverService and start three instances of the sample Axis2 server as in sample 52. </p> @@ -1586,7 +1586,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start ESB with sample configuration 55 (i.e. wso2-esb -sample 55). </p> +<p>Start ESB with sample configuration 55 (i.e. wso2server -Desb.sample=55). </p> <p>Deploy the LoadbalanceFailoverService and start four sample Axis2 servers on http ports 9001, 9002, 9003 and 9004 respectively (make sure to specify @@ -1663,7 +1663,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start the Synapse configuration numbered 56 (i.e. wso2-esb -sample 56). +<p>Start the Synapse configuration numbered 56 (i.e. wso2server -Desb.sample=56). </p> <p>Deploy the SimpleStockQuoteService and start the sample Axis2 server. </p> @@ -1730,7 +1730,7 @@ files for your JDK before using Apache Rampart (e.g. see http://java.sun.com/javase/downloads/index_jdk5.jsp) </p> -<p>Start the Synapse configuration numbered 100: i.e. wso2-esb -sample 100<br +<p>Start the Synapse configuration numbered 100: i.e. wso2server -Desb.sample=100<br /> Start the Axis2 server and deploy the SecureStockQuoteService if not already done </p> @@ -1830,7 +1830,7 @@ <p>Start the sample Axis2 server on port 9000. </p> -<p>Start ESB with the sample configuration 101 (i.e. wso2-esb -sample 101). +<p>Start ESB with the sample configuration 101 (i.e. wso2server -Desb.sample=101). </p> <p></p> @@ -2001,7 +2001,7 @@ <p><strong>Objective: Introduction to ESB proxy services</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 150: i.e. wso2-esb -sample 150<br /> +Start the Synapse configuration numbered 150: i.e. wso2server -Desb.sample=150<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -2057,7 +2057,7 @@ mediation with proxy services</strong> </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 151: i.e. wso2-esb -sample 151<br /> +Start the Synapse configuration numbered 151: i.e. wso2server -Desb.sample=151<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -2095,7 +2095,7 @@ </p> <p><strong>Prerequisites:</strong><br /> -Start the Synapse configuration numbered 152: i.e. wso2-esb -sample 152 </p> +Start the Synapse configuration numbered 152: i.e. wso2server -Desb.sample=152 </p> <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -2188,7 +2188,7 @@ for your JDK before using Apache Rampart (e.g. see http://java.sun.com/javase/downloads/index_jdk5.jsp) </p> -<p>Start the Synapse configuration numbered 153: i.e. wso2-esb -sample 153<br +<p>Start the Synapse configuration numbered 153: i.e. wso2server -Desb.sample=153<br /> Start the Axis2 server and deploy the SecureStockQuoteService if not already done </p> @@ -2383,7 +2383,7 @@ for your JDK before using Apache Rampart (e.g. see http://java.sun.com/javase/downloads/index_jdk5.jsp) </p> -<p>Start the Synapse configuration numbered 200: i.e. wso2-esb -sample 200<br +<p>Start the Synapse configuration numbered 200: i.e. wso2server -Desb.sample=200<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -2499,7 +2499,7 @@ above)<br /> Download, install and start a JMS server, and configure ESB to listen on JMS (refer notes below)<br /> -Start the Synapse configuration numbered 250: i.e. wso2-esb -sample 250<br /> +Start the Synapse configuration numbered 250: i.e. wso2server -Desb.sample=250<br /> For this example we would use ActiveMQ as the JMS provider. Once ActiveMQ is installed and started you should get a message as follows: </p> <pre xml:space="preserve">INFO BrokerService - ActiveMQ JMS Message Broker (localhost) started</pre> @@ -2577,7 +2577,7 @@ Start the Axis2 server and deploy the SimpleStockQuoteService (see below)<br /> Configure the Synase JMS transport (refer notes above - sample 250)<br /> -Start the Synapse configuration numbered 251: i.e. wso2-esb -sample 251 </p> +Start the Synapse configuration numbered 251: i.e. wso2server -Desb.sample=251 </p> <p>To switch from HTTP to JMS, edit the samples/axis2Server/repository/conf/axis2.xml for the sample Axis2 server and @@ -2673,7 +2673,7 @@ <p><strong>Prerequisites:</strong><br /> Configure JMS for ESB (Refer notes)<br /> -Start the Synapse configuration numbered 252: i.e. wso2-esb -sample 252<br /> +Start the Synapse configuration numbered 252: i.e. wso2server -Desb.sample=252<br /> Start the Axis2 server and deploy the SimpleStockQuoteService and the MTOMSwASampleService if not already done </p> @@ -2842,7 +2842,7 @@ Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> -<p>Start the Synapse configuration numbered 253: i.e. wso2-esb -sample 253 +<p>Start the Synapse configuration numbered 253: i.e. wso2server -Desb.sample=253 </p> <p></p> @@ -2918,7 +2918,7 @@ out directory with the prefix <em>vfs:</em>. Values you have to change are marked with <!--CHANGE-->. </p> -<p>Start the Synapse configuration numbered 254: i.e. wso2-esb -sample 254 +<p>Start the Synapse configuration numbered 254: i.e. wso2server -Desb.sample=254 </p> <p>Copy ESB_HOME/repository/conf/sample/resources/vfs/test.xml to the @@ -2991,7 +2991,7 @@ address to a working email address. Values you have to change are marked with <!--CHANGE-->. </p> -<p>Start the Synapse configuration numbered 255: i.e. wso2-esb -sample 255 +<p>Start the Synapse configuration numbered 255: i.e. wso2server -Desb.sample=255 </p> <p>Copy ESB_HOME/repository/conf/sample/resources/vfs/test.xml to the ftp @@ -3057,7 +3057,7 @@ href="ESB_Samples_Setup.html#mailsender">Setting up mail transport sender</a> </p> -<p>Start the Synapse configuration numbered 256: i.e. wso2-esb -sample 256 +<p>Start the Synapse configuration numbered 256: i.e. wso2server -Desb.sample=256 </p> <p>Send a plain/text email with the following body and any custom Subject @@ -3313,7 +3313,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start the Synapse configuration numbered 350: i.e. wso2-esb -sample 350<br +<p>Start the Synapse configuration numbered 350: i.e. wso2server -Desb.sample=350<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -3372,7 +3372,7 @@ <p><strong>Prerequisites:</strong> </p> -<p>Start the Synapse configuration numbered 351: i.e. wso2-esb -sample 351<br +<p>Start the Synapse configuration numbered 351: i.e. wso2server -Desb.sample=351<br /> Start the Axis2 server and deploy the SimpleStockQuoteService if not already done </p> @@ -3664,7 +3664,7 @@ <p><strong>Prerequisites:</strong> Setting up Derby database as explained above. </p> -<p>Start the Synapse configuration numbered 360: i.e. wso2-esb -sample 360 +<p>Start the Synapse configuration numbered 360: i.e. wso2server -Desb.sample=360 </p> <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not @@ -3760,7 +3760,7 @@ <p><strong>Prerequisites:</strong> Setting up Derby database as above. </p> -<p>Start the Synapse configuration numbered 361: i.e. wso2-esb -sample 361 +<p>Start the Synapse configuration numbered 361: i.e. wso2server -Desb.sample=361 </p> <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not @@ -3862,7 +3862,7 @@ <p><strong>Prerequisites:</strong> Setting up Derby database as above. </p> -<p>Start the Synapse configuration numbered 362: i.e. wso2-esb -sample 362 +<p>Start the Synapse configuration numbered 362: i.e. wso2server -Desb.sample=362 </p> <p>Start the Axis2 server and deploy the SimpleStockQuoteService if not @@ -4038,7 +4038,7 @@ <p></p> -<p>Start the Synapse configuration numbered 363: i.e. wso2-esb -sample 363</p> +<p>Start the Synapse configuration numbered 363: i.e. wso2server -Desb.sample=363</p> <p></p> @@ -4126,7 +4126,7 @@ <p>Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 370 (i.e. wso2-esb -sample 370). +<p>Start ESB with the sample configuration 370 (i.e. wso2server -Desb.sample=370). </p> <p></p> @@ -4244,7 +4244,7 @@ <p>Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 371 (i.e. wso2-esb -sample 371). +<p>Start ESB with the sample configuration 371 (i.e. wso2server -Desb.sample=371). </p> <p></p> @@ -4339,7 +4339,7 @@ <p><strong>Prerequisites:</strong> Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 372 (i.e. wso2-esb -sample 372). +<p>Start ESB with the sample configuration 372 (i.e. wso2server -Desb.sample=372). </p> <p></p> @@ -4407,7 +4407,7 @@ <p>Make sure the synapse-samples-1.0.jar is in your class path (by default this jar is placed in the lib directory when installing ESB). </p> -<p>Start ESB with the sample configuration 380 (i.e. wso2-esb -sample 380) +<p>Start ESB with the sample configuration 380 (i.e. wso2server -Desb.sample=380) </p> <p>Start the sample Axis2 server and deploy the SimpleStockQuoteService. </p> @@ -4640,7 +4640,7 @@ <p><strong>Prerequisites:</strong>Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 391 (i.e. wso2-esb -sample 391). +<p>Start ESB with the sample configuration 391 (i.e. wso2server -Desb.sample=391). </p> <p>In this sample, data from commission.xml document is used inside XQUERY @@ -4694,7 +4694,7 @@ <p><strong>Prerequisites:</strong>Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 400 (i.e. wso2-esb -sample 400). +<p>Start ESB with the sample configuration 400 (i.e. wso2server -Desb.sample=400). </p> <p>In this sample, the message sent to ESB has embedded with a number of @@ -4743,7 +4743,7 @@ <p><strong>Prerequisites:</strong>Deploy the SimpleStockQuoteService in sample Axis2 server and start it on port 9000. </p> -<p>Start ESB with the sample configuration 420 (i.e. wso2-esb -sample 420). +<p>Start ESB with the sample configuration 420 (i.e. wso2server -Desb.sample=420). </p> <p>In this sample, the message sent to ESB is checked for an existing cached _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
