[jboss-svn-commits] JBL Code SVN: r37177 - in labs/jbosstm/trunk/ArjunaJTA/quickstarts: integration and 4 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jun 30 07:20:57 EDT 2011
Author: tomjenkinson
Date: 2011-06-30 07:20:57 -0400 (Thu, 30 Jun 2011)
New Revision: 37177
Added:
labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/readme.txt
labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme.txt
labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/readme.txt
labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme.txt
labs/jbosstm/trunk/ArjunaJTA/quickstarts/run_all_quickstarts.sh
Removed:
labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/README
labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme
labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/README
labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme
labs/jbosstm/trunk/ArjunaJTA/quickstarts/recovery/README
Log:
JBTM-854 update to use readme.txt rather than readme
Deleted: labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/README
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/README 2011-06-30 11:16:46 UTC (rev 37176)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/README 2011-06-30 11:20:57 UTC (rev 37177)
@@ -1,34 +0,0 @@
-JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
-LLC, and others contributors as indicated by the @authors tag. All rights
-reserved. See the copyright.txt in the distribution for a full listing of
-individual contributors. This copyrighted material is made available to anyone
-wishing to use, modify, copy, or redistribute it subject to the terms and
-conditions of the GNU Lesser General Public License, v. 2.1. This program
-is distributed in the hope that it will be useful, but WITHOUT A WARRANTY;
-without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE. See the GNU Lesser General Public License for more details. You
-should have received a copy of the GNU Lesser General Public License, v.2.1
-along with this distribution; if not, write to the Free Software Foundation,
-Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-OVERVIEW
---------
-This shows how to develop an EJB with transactional attributes and a JPA entity
-bean and then test it using TS deployed in JBossAS using Arquillian
-
-
-USAGE
------
-mvn install
-
-
-EXPECTED OUTPUT
----------------
-As well as the normal output you would expect to see from maven, you should also see:
-1. A JBossAS instance starting up under mavens control
- 15:57:59,754 INFO [ContainerRegistryCreator] Could not read active container configuration: null
- 15:58:00,255 INFO [AbstractJBossASServerBase] Server Configuration:
- <SNIP/>
- 15:58:22,005 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 21s:739ms
-2. Output from the maven test showing that all the tests ran OK
\ No newline at end of file
Copied: labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/readme.txt (from rev 37173, labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/README)
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/readme.txt (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/integration/readme.txt 2011-06-30 11:20:57 UTC (rev 37177)
@@ -0,0 +1,34 @@
+JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
+LLC, and others contributors as indicated by the @authors tag. All rights
+reserved. See the copyright.txt in the distribution for a full listing of
+individual contributors. This copyrighted material is made available to anyone
+wishing to use, modify, copy, or redistribute it subject to the terms and
+conditions of the GNU Lesser General Public License, v. 2.1. This program
+is distributed in the hope that it will be useful, but WITHOUT A WARRANTY;
+without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU Lesser General Public License for more details. You
+should have received a copy of the GNU Lesser General Public License, v.2.1
+along with this distribution; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+OVERVIEW
+--------
+This shows how to develop an EJB with transactional attributes and a JPA entity
+bean and then test it using TS deployed in JBossAS using Arquillian
+
+
+USAGE
+-----
+mvn install
+
+
+EXPECTED OUTPUT
+---------------
+As well as the normal output you would expect to see from maven, you should also see:
+1. A JBossAS instance starting up under mavens control
+ 15:57:59,754 INFO [ContainerRegistryCreator] Could not read active container configuration: null
+ 15:58:00,255 INFO [AbstractJBossASServerBase] Server Configuration:
+ <SNIP/>
+ 15:58:22,005 INFO [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 21s:739ms
+2. Output from the maven test showing that all the tests ran OK
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme 2011-06-30 11:16:46 UTC (rev 37176)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme 2011-06-30 11:20:57 UTC (rev 37177)
@@ -1,12 +0,0 @@
- There is 1 javax.transaction examples:
-
- 1. Starting and ending transactions, examining transacton status, timeouts etc:
- org.jboss.narayana.jta.examples.TransactionExample
-
- When running an example an exit code of zero represents success (otherwise failure together with an exception trace).
-
- To run an example use the maven java exec plugin. For example to run the first example:
-
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.jta.examples.TransactionExample
-
- By defalt transaction logs are stored in the current working directory (ObjectStore and PutObjectStoreDirHere).
Copied: labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme.txt (from rev 37173, labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme)
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme.txt (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/javax_transaction/readme.txt 2011-06-30 11:20:57 UTC (rev 37177)
@@ -0,0 +1,12 @@
+ There is 1 javax.transaction examples:
+
+ 1. Starting and ending transactions, examining transacton status, timeouts etc:
+ org.jboss.narayana.jta.examples.TransactionExample
+
+ When running an example an exit code of zero represents success (otherwise failure together with an exception trace).
+
+ To run an example use the maven java exec plugin. For example to run the first example:
+
+ mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.jta.examples.TransactionExample
+
+ By defalt transaction logs are stored in the current working directory (ObjectStore and PutObjectStoreDirHere).
Deleted: labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/README
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/README 2011-06-30 11:16:46 UTC (rev 37176)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/README 2011-06-30 11:20:57 UTC (rev 37177)
@@ -1,36 +0,0 @@
-JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
-LLC, and others contributors as indicated by the @authors tag. All rights
-reserved. See the copyright.txt in the distribution for a full listing of
-individual contributors. This copyrighted material is made available to anyone
-wishing to use, modify, copy, or redistribute it subject to the terms and
-conditions of the GNU Lesser General Public License, v. 2.1. This program
-is distributed in the hope that it will be useful, but WITHOUT A WARRANTY;
-without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-PURPOSE. See the GNU Lesser General Public License for more details. You
-should have received a copy of the GNU Lesser General Public License, v.2.1
-along with this distribution; if not, write to the Free Software Foundation,
-Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-
-
-OVERVIEW
---------
-This shows an example of how to include the jbossjta artifact in your own projects
-
-
-USAGE
------
-mvn compile exec:exec
-
-
-EXPECTED OUTPUT
----------------
-As well as the maven output you would normally expect, you should also see the following:
-
-23-Jun-2011 15:56:07 com.arjuna.ats.arjuna.recovery.TransactionStatusManager addService
-INFO: ARJUNA12163: Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 51393
-23-Jun-2011 15:56:07 com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem <init>
-INFO: ARJUNA12337: TransactionStatusManagerItem host: 127.0.0.1 port: 51393
-23-Jun-2011 15:56:08 com.arjuna.ats.arjuna.recovery.TransactionStatusManager start
-INFO: ARJUNA12170: TransactionStatusManager started on port 51393 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
-TransactionImple < ac, BasicAction: 0:ffff7f000001:b89f:4e035407:2 status: ActionStatus.RUNNING >
-null
Copied: labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/readme.txt (from rev 37173, labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/README)
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/readme.txt (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/maven/readme.txt 2011-06-30 11:20:57 UTC (rev 37177)
@@ -0,0 +1,36 @@
+JBoss, Home of Professional Open Source Copyright 2008, Red Hat Middleware
+LLC, and others contributors as indicated by the @authors tag. All rights
+reserved. See the copyright.txt in the distribution for a full listing of
+individual contributors. This copyrighted material is made available to anyone
+wishing to use, modify, copy, or redistribute it subject to the terms and
+conditions of the GNU Lesser General Public License, v. 2.1. This program
+is distributed in the hope that it will be useful, but WITHOUT A WARRANTY;
+without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+PURPOSE. See the GNU Lesser General Public License for more details. You
+should have received a copy of the GNU Lesser General Public License, v.2.1
+along with this distribution; if not, write to the Free Software Foundation,
+Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+OVERVIEW
+--------
+This shows an example of how to include the jbossjta artifact in your own projects
+
+
+USAGE
+-----
+mvn compile exec:exec
+
+
+EXPECTED OUTPUT
+---------------
+As well as the maven output you would normally expect, you should also see the following:
+
+23-Jun-2011 15:56:07 com.arjuna.ats.arjuna.recovery.TransactionStatusManager addService
+INFO: ARJUNA12163: Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 51393
+23-Jun-2011 15:56:07 com.arjuna.ats.internal.arjuna.recovery.TransactionStatusManagerItem <init>
+INFO: ARJUNA12337: TransactionStatusManagerItem host: 127.0.0.1 port: 51393
+23-Jun-2011 15:56:08 com.arjuna.ats.arjuna.recovery.TransactionStatusManager start
+INFO: ARJUNA12170: TransactionStatusManager started on port 51393 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
+TransactionImple < ac, BasicAction: 0:ffff7f000001:b89f:4e035407:2 status: ActionStatus.RUNNING >
+null
Deleted: labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme 2011-06-30 11:16:46 UTC (rev 37176)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme 2011-06-30 11:20:57 UTC (rev 37177)
@@ -1,15 +0,0 @@
- There are 3 object store examples:
-
- 1. A transaction manager stores its commit decision after before deciding to commit a transaction.
- This example shows how to change the store type to an (unsafe) in memory store:
- org.jboss.narayana.jta.examples.VolatileStoreExample
- 2. This example shows how to change the store type to use the fast Hornetq journal:
- org.jboss.narayana.jta.examples.HornetqStoreExample
- 3. This example shows how to change the store type to a file base store but in directory different from the default:
- org.jboss.narayana.jta.examples.FileStoreTest
-
- When running an example an exit code of zero represents success (otherwise failure together with an exception trace)
-
- To run an example use the maven java exec plugin. For example to run the first example:
-
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.jta.examples.VolatileStoreExample
Copied: labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme.txt (from rev 37173, labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme)
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme.txt (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/object_store/readme.txt 2011-06-30 11:20:57 UTC (rev 37177)
@@ -0,0 +1,15 @@
+ There are 3 object store examples:
+
+ 1. A transaction manager stores its commit decision after before deciding to commit a transaction.
+ This example shows how to change the store type to an (unsafe) in memory store:
+ org.jboss.narayana.jta.examples.VolatileStoreExample
+ 2. This example shows how to change the store type to use the fast Hornetq journal:
+ org.jboss.narayana.jta.examples.HornetqStoreExample
+ 3. This example shows how to change the store type to a file base store but in directory different from the default:
+ org.jboss.narayana.jta.examples.FileStoreTest
+
+ When running an example an exit code of zero represents success (otherwise failure together with an exception trace)
+
+ To run an example use the maven java exec plugin. For example to run the first example:
+
+ mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.jta.examples.VolatileStoreExample
Deleted: labs/jbosstm/trunk/ArjunaJTA/quickstarts/recovery/README
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/recovery/README 2011-06-30 11:16:46 UTC (rev 37176)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/recovery/README 2011-06-30 11:20:57 UTC (rev 37177)
@@ -1,35 +0,0 @@
- There are 3 recovery examples:
- 1. An example showing how to manually enlist (2 dummy) resources (without failures)
- org.jboss.narayana.examples.recovery.BasicXAExample
- 2. An example demonstrating recovery from failures after prepare but before commit using Dummy XA resources:
- org.jboss.narayana.examples.recovery.DummyRecovery
-
- This example needs to be run twice the first run (controled by a command line arg of -f, for fail)
- will halt the VM thus generating a "recovery record".
- The second run (ontroled by a command line arg of -r, for recover) will cause the transaction manager
- recovery system to replay the commit phase of the transaction.
- 3. Another example demonstrating recovery from failures but using JMS XA resources (instead of dummy ones).
- Again the first run will generate 2 messages and leave the transaction dangling in the prepared state.
- The second run will trigger the recovery system which in turn commits the two prepared JMS XA resources.
- Then the two messages are consumed.
-
- To run an example use the maven java exec pluging. For example to run the second recovery example:
-
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.examples.recovery.DummyRecovery -Dexec.classpathScope=test -Dexec.args="-r"
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.examples.recovery.DummyRecovery -Dexec.classpathScope=test -Dexec.args="-f"
-
- And to run the JMS recovery example:
-
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.examples.recovery.JmsRecovery -Dexec.classpathScope=test -Dexec.args="-r"
- mvn -e exec:java -Dexec.mainClass=org.jboss.narayana.examples.recovery.JmsRecovery -Dexec.classpathScope=test -Dexec.args="-f"
-
- On the second step of each example you will see a warning
- (HornetQException[errorCode=4 message=The connection was disconnected because of server shutdown])
- which can be ignored. It caused by the recovery subsystem not performing an orderly shutdown of JMS
- communications. This will be fixed in the next revision of JBossTS.
-
- And finally, to read the (binary) hornetq logs use the PrintData tool:
-
- mvn -e exec:java -Dexec.mainClass=org.hornetq.core.persistence.impl.journal.PrintData -Dexec.classpathScope=test -Dexec.args="target/data/hornetq/bindings target/data/hornetq/largemessages"
-
-
Added: labs/jbosstm/trunk/ArjunaJTA/quickstarts/run_all_quickstarts.sh
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/quickstarts/run_all_quickstarts.sh (rev 0)
+++ labs/jbosstm/trunk/ArjunaJTA/quickstarts/run_all_quickstarts.sh 2011-06-30 11:20:57 UTC (rev 37177)
@@ -0,0 +1,16 @@
+# ALLOW JOBS TO BE BACKGROUNDED
+set -m
+
+echo "Running all quickstarts"
+
+for i in `find * -name run.sh | sed 's#\(.*\)/.*#\1#' |sort -u`
+do
+ cd $i
+ ./run.sh
+ if [ "$?" != "0" ]; then
+ exit -1
+ fi
+ cd -
+done
+
+echo "All quickstarts ran OK"
Property changes on: labs/jbosstm/trunk/ArjunaJTA/quickstarts/run_all_quickstarts.sh
___________________________________________________________________
Added: svn:executable
+ *
More information about the jboss-svn-commits
mailing list