[jboss-svn-commits] JBL Code SVN: r37464 - labs/jbosstm/trunk/rest-tx/quickstarts/demo.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Sep 13 10:52:28 EDT 2011


Author: tomjenkinson
Date: 2011-09-13 10:52:27 -0400 (Tue, 13 Sep 2011)
New Revision: 37464

Modified:
   labs/jbosstm/trunk/rest-tx/quickstarts/demo/demo.txt
Log:
updated with curl instructions

Modified: labs/jbosstm/trunk/rest-tx/quickstarts/demo/demo.txt
===================================================================
--- labs/jbosstm/trunk/rest-tx/quickstarts/demo/demo.txt	2011-09-13 14:31:13 UTC (rev 37463)
+++ labs/jbosstm/trunk/rest-tx/quickstarts/demo/demo.txt	2011-09-13 14:52:27 UTC (rev 37464)
@@ -130,8 +130,8 @@
 
 	# enlist 2 participants via the BROWSER
 	# PARTICIPANT_HOST has to be an externally facing web address, e.g. gondolin.ncl.ac.uk:9188
-	http://$PARTICIPANT_HOST/service?counter=0&enlistURL=<VALUE OF enlistUrl: FROM COMMAND ABOVE>
-	http://$PARTICIPANT_HOST/service?counter=1&enlistURL=<VALUE OF enlistUrl: FROM COMMAND ABOVE>
+	curl "http://$PARTICIPANT_HOST/service?counter=0&enlistURL=<VALUE OF enlistUrl: FROM COMMAND ABOVE>"
+	curl "http://$PARTICIPANT_HOST/service?counter=1&enlistURL=<VALUE OF enlistUrl: FROM COMMAND ABOVE>"
 
  9. Tell tell the service to halt the VM before committing the second work load:
 
@@ -142,7 +142,7 @@
 	ruby client.rb -v Put -a "<VALUE OF endUrl: FROM STEP 8 ABOVE>" -b "txStatus=TransactionCommitted"
 
  11. Restart the service (it will have halted during commit of the 2nd work load) and quickly show tha
-	http://$PARTICIPANT_HOST/service/query
+	curl http://$PARTICIPANT_HOST/service/query
 	shows counter 1 hasn't incremented yet.
 
 	wait for recovery to kick in and reissue the counter query



More information about the jboss-svn-commits mailing list